Build with Pied Piper
MCP
@piedpiperrh/mcp is a Model Context Protocol server that gives Claude (and any MCP client — Cursor, Windsurf, custom agents) direct access to the network. Claude can list the catalog and run completions on community GPUs as a tool.
Setup
Mint an API key in Settings → API keys, then register the server. Claude Code:
shell
1claude mcp add piedpiper --env PIEDPIPER_API_KEY=lg_pk_your_key -- npx -y @piedpiperrh/mcp
Claude Desktop (add to claude_desktop_config.json):
config
1{2"mcpServers": {3"piedpiper": {4"command": "npx",5"args": ["-y", "@piedpiperrh/mcp"],6"env": { "PIEDPIPER_API_KEY": "lg_pk_your_key" }7}8}9}
Tools it exposes
| Field | Type | Description |
|---|---|---|
| list_models | tool | Model ids currently servable on the network. |
| chat | tool | Run a completion on a chosen model — prompt, optional system prompt, temperature, max_tokens, and a wait-for-capacity option. Costs credits per request like any API call. |
Then just ask: "use piedpiper to ask llama-3.2-3b to summarize this file" — Claude calls the network, a community host serves it, the host earns credits.