PathCourse Health (PCH)

io.github.pathcourse-health由 GitHub 账号 pathcourse-health 发布v1.0.1更新于 Oct 25, 2026

Cheaper LLM inference, USDC agent payments via x402, agent identity / reputation lookup.

已验证STDIO仅桌面金融AI 与机器学习

概览

AI 生成的概览

PathCourse Health 的本地 MCP 服务器,让助手比较并使用更便宜的 LLM 推理、以 USDC 付款,以及查询智能体身份与信誉。

可以做什么
列出 PCH 模型及其费率与等级要求,并在执行前估算或对比推理成本(免费工具)。查询网关健康与服务状态。查询智能体身份记录、Path Score、评分历史与认证,并进行更深入的信誉查询。使用 API 密钥在 PCH 模型上运行推理,并查看 USDC 余额、等级与账户活动。获取 USDC 付款说明并提交付款凭证以取得 API 密钥。
适用场景
适合希望助手比较推理价格、通过 PCH 运行推理,或查询智能体身份与信誉的场景。也适合想在聊天客户端内以 USDC 付款取得 PCH API 密钥的用户。
运行要求
以本地 stdio 进程运行,可通过 npm(@pathcourse/mcp-server)或 PyPI(pch-mcp-server,例如 uvx)安装。需要 Claude Desktop、Cursor、Cline、Continue.dev 或 Zed 等桌面 MCP 客户端。仅认证工具需要 PCH_API_KEY 环境变量,许多工具无需密钥即可使用。PCH_GATEWAY_URL 可覆盖默认的生产网关。需要访问 PCH 网关的网络连接。
安装前请注意
认证工具及更深入的信誉查询涉及 USDC 支出,pch_provision 与 pch_pay 需在 Base 上发送 USDC 才能取得 API 密钥,会动用真实资金。PCH_API_KEY 是机密,请勿提交到公开仓库,泄露后应轮换。请求与账户数据会发送至 PCH 网关,默认连接生产主网。

安装

在 SourceWeft 中

  1. 打开 控制台中的 PathCourse Health (PCH),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

PCH MCP Server

Drop-in MCP server for PathCourse Health (PCH) — cheaper LLM inference, USDC-based agent payments, and agent identity / reputation lookup. Works in Claude Desktop, Cursor, Cline, Continue.dev, and Zed.

14 tools. 7 free (no API key needed) and 7 authenticated. Includes a unique flow that lets you buy a PCH API key from inside Claude Desktop using USDC — no signup form, no email verification.

Install

Claude Desktop, Cursor, Cline, Continue.dev, Zed (npm)

Add to your client's MCP config:

json
{  "mcpServers": {    "pch": {      "command": "npx",      "args": ["-y", "@pathcourse/mcp-server"],      "env": {        "PCH_API_KEY": "pch_prod_b_..."      }    }  }}

If you don't have a PCH API key yet, omit the env block. Many tools work without authentication; you can obtain a key via the pch_provision tool.

Per-client install instructions:

Python clients (PyPI)

bash
uvx pch-mcp-server# orpip install pch-mcp-server

Tools

Free (no API key)

ToolWhat it does
pch_modelsList all PCH models with rates and tier requirements
pch_estimateEstimate cost of an inference request before running it
pch_statusGateway health and service status
pch_provisionGet USDC payment instructions to obtain an API key
pch_paySubmit USDC payment proof; returns API key + first inference
pch_lookup_agent_identityLookup an agent's ERC-8004 identity record
pch_get_path_scoreLook up an agent's Path Score (0-1000)
pch_get_agent_history12-month trend of an agent's score components
pch_verify_certificationVerify a PCH-issued certification
pch_compare_costsCompare PCH model cost vs GPT-4o, Claude Sonnet, Claude Haiku

Authenticated (PCH_API_KEY required)

ToolWhat it does
pch_inferenceRun LLM inference on a PCH model
pch_balanceCheck remaining USDC balance and current tier
pch_check_agent_reputationDeeper reputation lookup ($0.001 USDC per query)
pch_my_accountSelf-service balance + identity + recent activity

Configuration

Env varDefaultNotes
PCH_API_KEY(none)Required for authenticated tools. Format: pch_prod_b_...
PCH_GATEWAY_URLhttps://gateway.pathcoursehealth.comOverride for staging or local dev

Security

Never commit PCH_API_KEY to a public repo. The wrapper logs a warning at startup if it detects a key that looks like a real production key being passed through env. If you accidentally exposed your key, rotate it via PCH support.

License

MIT

Source

This wrapper is open source: pathcourse-health/pch-mcp-server

The upstream PCH MCP server lives in the (private) pch-platform-gateway repo.

来源:README.md,提交 f040735

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分