capture-mcp-server: Instructions file for Claude Code

CLAUDE.md

capture-mcp-server CLAUDE.md is an instructions file for Claude Code from blencorp/capture-mcp-server. It costs 1,563 tokens per session, scanned A, original, MIT.

Repository instructions for developing, building, and running Capture MCP Server, a program that gives Claude tools for accessing federal purchasing and spending data. They describe its TypeScript setup, configuration, and modular design.

In plain words
What is it for?
Building the server, running it in development or production, configuring it, and understanding its tool categories.
Why use it?
They give an unfamiliar developer the commands and project structure needed to work on the server correctly.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/blencorp/capture-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/blencorp/capture-mcp-server/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,563 This file is loaded in full into every session.
When invoked 1,563 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.01563 $0.01563
Opus 5.5 $0.00625 $0.00625
Sonnet 5.5 $0.00313 $0.00313
Haiku 4.5 $0.00156 $0.00156

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

Security

Grade A, and why

capture-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 2mo 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 · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 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.

Development Commands

Building and Running

  • npm run build - Compiles TypeScript to dist/ directory
  • npm start - Runs the compiled server (requires build first)
  • npm run dev - Development mode with ts-node (auto-reload with nodemon)

Project Configuration

  • Uses ES modules ("type": "module" in package.json)
  • TypeScript compilation target: ES2020
  • Output directory: dist/
  • Source directory: src/

Architecture Overview

This is a Model Context Protocol (MCP) server that captures federal procurement and spending data through 34 specialized tools. The architecture follows a modular tool-based design:

Core Components

Server (src/server.ts)

  • MCP server using @modelcontextprotocol/sdk
  • Uses stdio transport for Claude Desktop integration
  • Handles tool registration and execution through centralized registry

Tool Architecture (src/tools/)

  • Modular tool system with six categories:
    • reference-tools.ts - 1 static FPDS reference tool (lookup_reference_code; no key, no network)
    • sam-tools.ts - 4 SAM.gov API tools (entities, opportunities, details, exclusions)
    • usaspending-tools.ts - 6 USASpending.gov API tools (awards, spending, budgets, recipient search, get_award_detail verification, aggregate_contracts grouping)
    • tango-tools.ts - 12 Tango API tools (contracts, grants, vendor profiles, opportunities, spending summaries, GAO protests + detail, IDVs + child/task-order drill-down, vehicle catalog, OTAs, entity time-series metrics). Set-aside filtering is exact on FPDS codes; cursor pagination via the Tango next URL.
    • highergov-tools.ts - 9 HigherGov tools (forecast/opportunity/contract/people search, saved-search listing, opportunity documents, single-record lookups). Responses are normalized to lowercase agency/vehicle/set-aside slugs via utils/highergov-slugs.ts. get_* tools cache for 15 min in an in-process LRU.
    • join-tools.ts - 2 cross-API tools (entity+awards, opportunity+context)
  • Response conventions (see utils/envelope.ts and docs/fix-plan.md): every list tool echoes filters.upstream vs filters.client_side, nulls untrustworthy totals (total_upstream_unfiltered / total_upstream_unverified + warnings), labels count_unit and date_field, and returns one next_cursor shape. tools/index.ts rejects unknown/mistyped parameters with a structured bad_request. utils/fpds-codes.ts is the FPDS code table; docs/upstream-api-notes.md records which upstream params are verified to bind (run npm run capture-fixtures with live keys to re-probe).
  • Each tool module exports getTools() and callTool() methods
  • Central registry in tools/index.ts manages all tool registration

Read the full file on GitHub · 131 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. 2mo ago First seen · 131 lines · 1,563 tokens per session scan A d4840fb09797

Subscribe to this mod's changes

capture-mcp-server CLAUDE.md is an instructions file published in the GitHub repository blencorp/capture-mcp-server (35 stars, last pushed 2mo ago), licensed MIT. It adds 1,563 tokens to every session, about $0.0063 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

capture-mcp-server CLAUDE.md compared with instructions from other repositories

capture-mcp-server CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
capture-mcp-server CLAUDE.mdblencorp/capture-mcp-serverInstructions file352mo agoMITA1,563Claude 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