# PathCourse Health (PCH) [Health: Active]

**Category:** 🗣️ Conversational AI  
**Repository:** https://github.com/pathcourse-health/pch-mcp-server  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pathcourse-health-pch

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

## Tools
Capabilities this server exposes over MCP:

- **pch_models** — List all PCH models with rates and tier requirements
- **pch_estimate** — Estimate cost of an inference request before running it
- **pch_status** — Gateway health and service status
- **pch_provision** — Get USDC payment instructions to obtain an API key
- **pch_pay** — Submit USDC payment proof; returns API key + first inference
- **pch_lookup_agent_identity** — Lookup an agent's ERC-8004 identity record
- **pch_get_path_score** — Look up an agent's Path Score (0-1000)
- **pch_get_agent_history** — 12-month trend of an agent's score components
- **pch_verify_certification** — Verify a PCH-issued certification
- **pch_compare_costs** — Compare PCH model cost vs GPT-4o, Claude Sonnet, Claude Haiku
- **pch_inference** — Run LLM inference on a PCH model
- **pch_balance** — Check remaining USDC balance and current tier
- **pch_check_agent_reputation** — Deeper reputation lookup ($0.001 USDC per query)
- **pch_my_account** — Self-service balance + identity + recent activity

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "pathcourse-health-pch": {
    "command": "uvx",
    "args": ["pch-mcp-server"],
    "env": {
      "PCH_API_KEY": "",
      "PCH_GATEWAY_URL": ""
    }
  }
}
```

**Requires environment variables:** `PCH_API_KEY`, `PCH_GATEWAY_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What PathCourse Health (PCH) does

The PathCourse Health (PCH) MCP server connects MCP clients to the PCH gateway. It provides tools for inspecting available language models, estimating inference costs, checking gateway status, and running inference. It also exposes payment and account operations based on USDC, plus identity, certification, and reputation lookups for agents.

The tool set is split between unauthenticated and authenticated operations. Free tools include model and cost queries, service status, payment instructions, payment-proof submission, cost comparisons, ERC-8004 identity lookup, Path Score lookup, score history, and certification verification. Authenticated tools cover inference, balance checks, deeper reputation queries, and account details.

## How it works

PathCourse Health (PCH) MCP server can be launched with the npm package through an MCP client's command configuration, or with the Python package using `uvx` or `pip`. The client starts the server as a local process, which then communicates with the configured PCH gateway.

A PCH API key is optional at startup. Without one, the available non-authenticated tools can still be used. The `pch_provision` tool returns USDC payment instructions, and `pch_pay` accepts payment proof and returns an API key along with a first inference. Authenticated tools use the resulting key through the `PCH_API_KEY` environment variable.

The gateway URL defaults to `https://gateway.pathcoursehealth.com`. It can be overridden for staging or local development with `PCH_GATEWAY_URL`. The deeper agent reputation query has a stated cost of $0.001 USDC per request.

## Setup and configuration

For npm-based clients, add an MCP server entry that runs `npx -y @pathcourse/mcp-server`. Put `PCH_API_KEY` in the entry's environment settings when authenticated tools are needed. If no key is available, omit the environment block and use the provisioning flow from an MCP client.

Python users can run `uvx pch-mcp-server` or install the package with `pip install pch-mcp-server`. The repository provides client-specific installation guidance for Claude Desktop, Cursor, Cline, Continue.dev, and Zed.

Do not commit `PCH_API_KEY` to a public repository. The wrapper warns at startup when an environment value appears to be a production key. An exposed key should be rotated through PCH support.

## Tools and capabilities

The PathCourse Health (PCH) MCP server exposes these capabilities:

- List PCH models, rates, and tier requirements.
- Estimate an inference request's cost before execution.
- Check gateway health and service status.
- Obtain USDC payment instructions and submit payment proof.
- Run inference on a selected PCH model.
- Check USDC balance, account tier, identity, and recent activity.
- Look up ERC-8004 identity records, Path Scores, and 12-month score trends.
- Verify PCH certifications and compare PCH prices with GPT-4o, Claude Sonnet, and Claude Haiku.
- Query deeper agent reputation data for the stated USDC fee.

## Limitations and notes

The server is a wrapper around the upstream PCH platform gateway, whose repository is private.

_Full upstream README: https://allmcps.com/mcp/pathcourse-health-pch/readme_

