PathCourse Health (PCH)

io.github.pathcourse-healthPublished by GitHub account pathcourse-healthv1.0.1Updated Oct 25, 2026

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

VerifiedSTDIODesktop onlyFinanceAI & ML

Overview

AI-generated overview

Local MCP server for PathCourse Health that lets an assistant compare and run cheaper LLM inference, pay with USDC, and look up agent identity and reputation.

What you can do
List PCH models with rates and tier requirements, and estimate or compare inference costs against other models before running a request (free tools). Check gateway health and service status. Look up agent identity records, Path Score, score history and certifications, and run deeper reputation queries. Run LLM inference on a PCH model and check USDC balance, tier and account activity with an API key. Get USDC payment instructions and submit payment proof to obtain an API key.
When to use it
Useful when you want an assistant to compare inference pricing, run inference through PCH, or check an agent's identity and reputation. Also relevant if you want to obtain a PCH API key by paying in USDC from inside the chat client.
Requirements
Runs as a local stdio process, installed via npm (@pathcourse/mcp-server) or PyPI (pch-mcp-server, e.g. uvx). Desktop MCP clients such as Claude Desktop, Cursor, Cline, Continue.dev or Zed. The PCH_API_KEY environment variable is needed only for authenticated tools; many tools work without it. PCH_GATEWAY_URL optionally overrides the default production gateway. Network access to the PCH gateway.
Before you install
Authenticated tools and the deeper reputation lookup involve USDC spending, and pch_provision/pch_pay obtain an API key by sending USDC on Base, so real funds are at stake. PCH_API_KEY is a secret: keep it out of public repositories and rotate it if exposed. Requests and account data go to the PCH gateway, which defaults to production mainnet.

Installation

In SourceWeft

  1. Open PathCourse Health (PCH) in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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.

Source: README.md at commit f040735

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts