Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.09 KB

File metadata and controls

46 lines (35 loc) · 1.09 KB

BlockRun MCP

MCP server giving Claude real-time data — markets, research, X/Twitter, crypto. Pay per call with USDC.

Commands

npm install              # install dependencies
npm run build            # compile with tsup
npm run dev              # watch mode (tsx)
npm start                # start MCP server
npm run typecheck        # type checking

Project structure

src/
├── index.ts             # MCP server entry point
├── mcp-handler.ts       # MCP protocol handler
├── tools/               # MCP tool implementations
├── types.ts             # Type definitions
└── utils/               # Shared utilities

Key dependencies

  • @blockrun/llm — LLM gateway SDK (x402 payments)
  • @modelcontextprotocol/sdk — MCP protocol SDK
  • zod — Schema validation
  • viem — Ethereum interaction
  • qrcode — Wallet QR code display

Install in Claude Code

claude mcp add blockrun -s user -- npx -y @blockrun/mcp@latest

Conventions

  • TypeScript, ESM
  • Build with tsup
  • Node >= 20.19
  • MIT license
  • npm registry: @blockrun/mcp