CitePay MarketsRun Demo
Model Context Protocol · HTTP Transport · No API key required

Add CitePay to Claude

Install CitePay as an MCP server. Your AI gets a cite_query tool that pays creators in real USDC on every citation — on-chain, verifiable, permanent.

See it in action
Claude + CitePay MCP
Click “See it in action” to watch Claude call CitePay →
cite_query
Research a question. Agent pays creators in USDC, returns cited answer + public receipts.
get_receipt
Fetch any Policy Receipt by ID. Verify evidence hash and on-chain anchor.
check_policy
Inspect agent spend policies. Conservative, Balanced, or Aggressive preset rules.

Claude Code / Claude Desktop

Add to ~/.claude.json or your project's CLAUDE.md

{
  "mcpServers": {
    "citepay": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://citepay-markets.vercel.app/api/mcp"]
    }
  }
}
Requires mcp-remote (installed automatically via npx). Works with Claude Code CLI and Claude Desktop app.

Cursor / Any MCP Client (HTTP)

Direct HTTP transport — no proxy needed

{
  "mcpServers": {
    "citepay": {
      "url": "https://citepay-markets.vercel.app/api/mcp"
    }
  }
}

Windsurf / Codeium

SSE transport — add to Windsurf MCP settings

{
  "mcpServers": {
    "citepay": {
      "serverUrl": "https://citepay-markets.vercel.app/api/mcp",
      "type": "sse"
    }
  }
}

What happens on every cite_query call

Human: "Research stablecoins for AI agent payments"
        │
        ▼
Claude ──→ cite_query({ query, budget: 0.05 })
        │
        ▼
CitePay Agent
  ├─ Score 10 sources (Claude Haiku)
  ├─ PAY 3 creators in USDC (Circle Gateway → Arc Testnet)
  ├─ Anchor receipts → CitePayMarket.sol
  └─ Return cited answer + receipt URLs
        │
        ▼
Claude: "Based on [Stablecoin Research Hub]..."
        (every citation is paid, public, verifiable)

Test the MCP server

JSON-RPC 2.0 · POST · no auth required

curl -X POST https://citepay-markets.vercel.app/api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
https://citepay-markets.vercel.app/api/mcp
MCP endpoint: https://citepay-markets.vercel.app/api/mcp · Arc Testnet · Circle Gateway · No API key required