Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/visusnet/coinbase-mcp-server/claude-mdgit clone --depth 1 https://github.com/visusnet/coinbase-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/visusnet/coinbase-mcp-server/claude-md)<a href="https://agentmods.dev/instructions/visusnet/coinbase-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/visusnet/coinbase-mcp-server/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00879 | $0.00879 |
| Opus 5 | $0.00439 | $0.00439 |
| Sonnet 5 | $0.00176 | $0.00176 |
| Haiku 4.5 | $0.00088 | $0.00088 |
Grade A, and why
coinbase-mcp-server CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Coinbase MCP Server
MCP server with 74 tools (46 Coinbase Advanced Trade API + 24 technical indicators + 2 analysis tools + 1 event tool + 1 market intelligence).
Commands
npm run build # Build project
npm test # Run tests (100% coverage required)
npm run lint # Lint code
npm run start:dev # Development server with auto-reload
npm run inspect # MCP Inspector (http://localhost:6274)
Architecture
Direct SDK usage, no abstraction layers (YAGNI).
src/
├── index.ts # Entry point, credentials validation
├── logger.ts # Pino logger configuration
├── server/
│ ├── CoinbaseMcpServer.ts # MCP server, tools, SDK integration
│ ├── services/
│ │ ├── common.request.ts # Shared request schemas
│ │ ├── common.response.ts # Shared response schemas
│ │ ├── schema.helpers.ts # Transform helpers (stringToNumber, etc.)
│ │ ├── {Service}.ts # Service implementation
│ │ ├── {Service}.request.ts # Request schemas
│ │ ├── {Service}.response.ts # Response schemas
│ │ └── {Service}.types.ts # Enums and shared types
│ ├── tools/
│ │ └── {Domain}ToolRegistry.ts # Tool registration by domain
│ ├── indicators/ # Manual indicator implementations
│ │ └── *.ts # Helper functions (chartPatterns.ts, etc.)
│ └── websocket/ # WebSocket for real-time market data
│ ├── WebSocketConnection.ts # Reusable WebSocket primitive
│ └── WebSocketConnection.constants.ts # WebSocket configuration constants
└── test/
├── serviceMocks.ts # Service mocks
└── loggerMock.ts # Logger mock helper
Environment
cp .env.example .env
# Set COINBASE_API_KEY_NAME and COINBASE_PRIVATE_KEY
Guidelines
See .claude/rules/ for context-specific guidelines:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 94 lines · 879 tokens per session scan A bd7f82b3233b
coinbase-mcp-server CLAUDE.md is an instructions file published in the GitHub repository visusnet/coinbase-mcp-server (6 stars, last pushed 3mo ago), licensed MIT. It adds 879 tokens to every session, about $0.0044 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
gmgn-skills CLAUDE.md
Claude Code instructions for GMGNAI/gmgn-skills, covering claude.md, critical rule — read this first, project overview, available skills and quick decision guide.
mercato-dapp AGENTS.md
Instructions for mercato-supply-chain/mercato-dapp, covering mercato — agent guide, quick facts, documentation map, domain glossary and user roles.
coingecko-mcp-server CLAUDE.md
Claude Code instructions for cyanheads/coingecko-mcp-server, covering developer protocol, what's next?, core rules, patterns and tool.
gensyn-delphi-skills CLAUDE.md
Instructions for gensyn-ai/gensyn-delphi-skills, a project described as: Skills for agents to view markets and place trades on Gensyn's Delphi prediction markets.
x402-stellar-kit CLAUDE.md
Claude Code instructions for CodeStrux/x402-stellar-kit, a project described as: x402 payment primitives for Stellar: intent binding, a deterministic policy engine, a pluggable approver, and an agent surface. Apache-2.0.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).