coinbase-mcp-server CLAUDE.md

coinbase-mcp-server CLAUDE.md is an instructions file for coding agents from visusnet/coinbase-mcp-server. It costs 879 tokens per session, scanned A, original, MIT.

Repository instructions for developing a Coinbase MCP server. Coinbase is a cryptocurrency trading platform, and MCP is a way for an agent to call tools provided by a server.

In plain words
What is it for?
They guide work on Coinbase trading API tools, technical indicators, analysis, market intelligence, validation schemas, testing, and local development.
Why use it?
They give contributors a shared structure for the server, its credentials, tests, build commands, and tool integrations.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/visusnet/coinbase-mcp-server/claude-md
Clone the repo
git clone --depth 1 https://github.com/visusnet/coinbase-mcp-server

Wrote 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.

agentmods badge for coinbase-mcp-server CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/visusnet/coinbase-mcp-server/claude-md.svg)](https://agentmods.dev/instructions/visusnet/coinbase-mcp-server/claude-md)
Your own site
<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>
Per session 879 This file is loaded in full into every session.
When invoked 879 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 5d ago against content hash bd7f82b3233b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

CLAUDE.md · 94 lines

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:

Read the full file on GitHub · 94 lines

Changes

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.

  1. 5d ago First seen · 94 lines · 879 tokens per session scan A bd7f82b3233b

Subscribe to this mod's changes

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.

Related

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.

GMGNAI/gmgn-skills · 3,155 tokens

mercato-dapp AGENTS.md

Instructions for mercato-supply-chain/mercato-dapp, covering mercato — agent guide, quick facts, documentation map, domain glossary and user roles.

mercato-supply-chain/mercato-dapp · 3,830 tokens

coingecko-mcp-server CLAUDE.md

Claude Code instructions for cyanheads/coingecko-mcp-server, covering developer protocol, what's next?, core rules, patterns and tool.

cyanheads/coingecko-mcp-server · 6,718 tokens

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.

gensyn-ai/gensyn-delphi-skills · 3 tokens

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.

CodeStrux/x402-stellar-kit · 5 tokens

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).

microsoft/vscode · 6,785 tokens