bcb-br-mcp: Instructions file for Claude Code

CLAUDE.md

bcb-br-mcp CLAUDE.md is an instructions file for Claude Code from SidneyBissoli/bcb-br-mcp. It costs 9,830 tokens per session, scanned A, original, MIT.

Repository instructions for bcb-br-mcp, a TypeScript MCP server that exposes Brazilian Central Bank data through tools. MCP is a standard way for AI agents to call external tools.

In plain words
What is it for?
Use them when working on the server, its Central Bank data tools, architecture, or tests.
Why use it?
They give an agent the project context, supported data sources, design rules, and testing guidance needed to make safe changes.

Instructions file for Claude Code

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

This is SidneyBissoli/bcb-br-mcp's own configuration. It tells Claude Code how to work on bcb-br-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 bcb-br-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SidneyBissoli/bcb-br-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/SidneyBissoli/bcb-br-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/SidneyBissoli/bcb-br-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 bcb-br-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sidneybissoli/bcb-br-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/sidneybissoli/bcb-br-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/sidneybissoli/bcb-br-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/sidneybissoli/bcb-br-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 bcb-br-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sidneybissoli/bcb-br-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/sidneybissoli/bcb-br-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,830 This file is loaded in full into every session.
When invoked 9,830 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.09830 $0.09830
Opus 5.5 $0.03932 $0.03932
Sonnet 5.5 $0.01966 $0.01966
Haiku 4.5 $0.00983 $0.00983

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

Security

Grade A, and why

bcb-br-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 14d 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 · 500 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this is

An MCP server, published to npm as bcb-br-mcp, exposing three public APIs of the Brazilian Central Bank as 17 tools over STDIO and Streamable HTTP: the SGS time series (Selic, IPCA, FX, GDP and 135 verified indicators), the Focus market-expectations survey (Olinda OData) and PTAX exchange rates. Pure TypeScript, ESM, four runtime dependencies: @modelcontextprotocol/server (MCP SDK v2), @sbissoli/mcp-stats (motor de estatística do portfólio), @sbissoli/mcp-search (contrato Deep Research: search/fetch, desde a 1.11.0) e @sbissoli/mcp-provenance (contrato de proveniência). Este último traz zod de volta, como dependência transitiva — custo aceito de propósito no D4: a regra do portfólio é não reimplementar componente da Fase 0 localmente, e uma proveniência local faria o campo motor do bloco derivacao mentir, que é o mesmo argumento que decidiu a correlação na sessão 06. O zod é interno; a superfície publicada continua sendo JSON Schema escrito à mão. No database; the only state is module-level — the curated series catalog and the 24-hour cache of the Open Data Portal index (metadata only).

Two consumer channels, both in production and both protected:

  • npm (bcb-br-mcp, ~500 downloads/month, 1.36k uses on Smithery) — stdio.
  • Hosted — https://bcb.sidneybissoli.com/mcp (custom domain) and the historical https://bcb.sidneybissoli.workers.dev.

Commands

npm run build          # limpa dist/ e compila com tsconfig.build.json (sem testes nem evals)
npm start              # node dist/index.js (servidor MCP em stdio)
npm test               # vitest run
npm run typecheck      # tsc --noEmit (inclui os testes — o build os exclui)
npm run smoke          # smoke contra o worker hospedado
node scripts/smoke-mcp.mjs --stdio        # o mesmo smoke sobre dist/index.js local
node scripts/smoke-mcp.mjs --sonda        # só pergunta às APIs do BCB se estão servindo (sai 0/2) — para ler um deploy vermelho
node scripts/dump-surface.mjs --stdio     # dump normalizado da superfície (ver baselines/)
npx tsx src/evals/run.ts                  # eval de seleção com MODELO REAL — CUSTA DINHEIRO

Read the full file on GitHub · 500 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. 14d ago Changed · +9 lines · +206 tokens per session e99ccd024580
  2. 19d ago Changed · +29 lines · +677 tokens per session 0129694ac74f
  3. 27d ago Changed · -1 tokens per session 4d865dfc1d4c
  4. 1mo ago Changed · +12 lines · +250 tokens per session 5b652143c2a7
  5. 1mo ago Changed · +5 lines · +121 tokens per session 775604d69978
  6. 1mo ago Changed 11175214173b
  7. 1mo ago Changed · +1 lines · +26 tokens per session bb5e18b02559
  8. 1mo ago Changed · +33 lines · +544 tokens per session 87e6fbf50ac5
  9. 1mo ago Changed · +11 lines · +313 tokens per session 2eb4be07d1a3
  10. 1mo ago First seen · 400 lines · 7,694 tokens per session scan A 0fd7a8340920

Subscribe to this mod's changes

bcb-br-mcp CLAUDE.md is an instructions file published in the GitHub repository SidneyBissoli/bcb-br-mcp (11 stars, last pushed 2d ago), licensed MIT. It adds 9,830 tokens to every session, about $0.0393 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-31.

Related

bcb-br-mcp CLAUDE.md compared with instructions from other repositories

bcb-br-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bcb-br-mcp CLAUDE.mdSidneyBissoli/bcb-br-mcpInstructions file112d agoMITA9,830Claude Code
vibetags com-example-config-AsyncTestConfig.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA82GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,086GitHub Copilot