bsv-mcp: Instructions file for Claude Code

CLAUDE.md

bsv-mcp CLAUDE.md is an instructions file for Claude Code from b-open-io/bsv-mcp. It costs 1,693 tokens per session, scanned A, original, MIT.

Repository instructions for bsv-mcp, a server that lets AI assistants work with Bitcoin SV blockchain features. They cover setup, local development, testing, linting, and three deployment modes.

In plain words
What is it for?
Use them when developing wallet, token, ordinal, identity, or social features, or when running the server locally, over HTTP, or as a Cloudflare Worker.
Why use it?
They give an agent the project-specific commands and constraints needed to build, run, check, and deploy the server correctly.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is b-open-io/bsv-mcp's own configuration. It tells Claude Code how to work on bsv-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bsv-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to b-open-io/bsv-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/b-open-io/bsv-mcp/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/b-open-io/bsv-mcp

Made for: Claude Code.

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 bsv-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/b-open-io/bsv-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/b-open-io/bsv-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/b-open-io/bsv-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/b-open-io/bsv-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bsv-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/b-open-io/bsv-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/b-open-io/bsv-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,693 This file is loaded in full into every session.
When invoked 1,693 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01693 $0.01693
Opus 5.5 $0.00677 $0.00677
Sonnet 5.5 $0.00339 $0.00339
Haiku 4.5 $0.00169 $0.00169

Measured 1mo ago against content hash b0396714b9c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bsv-mcp 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 1mo 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 · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Contributor guidance for the BSV MCP repository.

Project overview

BSV MCP is an open-source Model Context Protocol server for Bitcoin SV. It contains the published MCP package and the Next.js site that documents and hosts the remote MCP endpoint.

Current product decisions — September 8, 2026

These decisions supersede older OAuth and architecture proposals.

  • Local stdio MCP is the active product. It requires no Sigma sign-in.
  • Hosted MCP, its authorization server, and HTTP spending approval are deferred. Existing HTTP code is legacy implementation, not an instruction to finish it.
  • Sigma Connect is optional and requires explicit user consent. It is separate from MCP authentication and from the wallet. Do not change Sigma Auth or its database to make BSV MCP work.
  • A future hosted authorization server would belong to bsvmcp.com itself. This is a deferred direction, not an active implementation task.
  • Local browser setup, an external wallet's signing API, and 1Sat service calls may use HTTP. They do not make BSV MCP a remotely hosted MCP product.
  • The latest user decisions govern. Internal WORKLIST and the recent Sigma handoff are supporting references; old checkboxes are not authorization.

The website and legacy HTTP routes still contain contradictions with these choices. Correct them through the current reconciliation plan; do not treat passing tests or deployed behavior as proof of the intended product scope.

The retired Cloudflare worker and OpenNext configuration were removed. Do not reintroduce a Cloudflare deployment path unless the product owner explicitly requests one.

Essential commands

bun install
bun test
bun run lint
bun run build:all       # Vite MCP app, then the published server bundle
bun run build:next      # Next.js site
bun run dev             # Next.js site locally
bun dist/index.js --stdio

The package version is defined in package.json. The published package includes the built dist/ bundle, README, changelog, license, and Smithery manifest.

Read the full file on GitHub · 177 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. 1mo ago Changed · -179 lines · -1,801 tokens per session b0396714b9c2
  2. 2mo ago Changed · +16 tokens per session 6501147e890e
  3. 2mo ago First seen · 356 lines · 3,478 tokens per session scan A 690ba12bd15e

Subscribe to this mod's changes

bsv-mcp CLAUDE.md is an instructions file published in the GitHub repository b-open-io/bsv-mcp (22 stars, last pushed 1mo ago), licensed MIT. It adds 1,693 tokens to every session, about $0.0068 per session on Opus 5.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-30.

Related

bsv-mcp CLAUDE.md compared with instructions from other repositories

bsv-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bsv-mcp CLAUDE.mdb-open-io/bsv-mcpInstructions file221mo agoMITA1,693Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode