Borrowing it
Nothing to install: this file belongs to hamzaamjad/mcp-claude-context. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hamzaamjad/mcp-claude-context/master/CLAUDE.mdgit clone --depth 1 https://github.com/hamzaamjad/mcp-claude-contextWrote 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/hamzaamjad/mcp-claude-context/claude-md)<a href="https://agentmods.dev/instructions/hamzaamjad/mcp-claude-context/claude-md"><img src="https://agentmods.dev/badge/instructions/hamzaamjad/mcp-claude-context/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.1 | $0.02545 | $0.02545 |
| Opus 5 | $0.01273 | $0.01273 |
| Sonnet 5 | $0.00509 | $0.00509 |
| Haiku 4.5 | $0.00254 | $0.00254 |
Grade B, and why
mcp-claude-context CLAUDE.md scanned grade B with 2 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 7d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
chmod 644 data/db/conversations.db Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl http://localhost:9222/api/status How it starts
The opening of the file, as written. The whole thing โ 421 lines โ stays where its author put it; the contents beside it link to each section on GitHub.
MCP Claude Context Server - CLAUDE.md
๐ฏ Project Overview
MCP (Model Context Protocol) server for extracting, storing, searching, and analyzing Claude.ai conversations with enhanced database storage, semantic search, and multiple export formats. Version 0.5.0 includes SQLite database, AI-powered search, and Docker deployment.
๐๏ธ Architecture
Claude.ai โ Chrome Extension โ Bridge Server โ MCP Server โ SQLite DB
โ
Search Engine
โ
Export Formats
๐ Repository Structure
mcp-claude-context/
โโโ src/ # Main MCP server code
โ โโโ direct_api_server.py # Primary server (entry point)
โ โโโ models/ # Database models (SQLAlchemy)
โ โโโ exporters/ # Export format handlers
โ โโโ search/ # Search engine components
โโโ extension/ # Chrome extension for message extraction
โ โโโ bridge_server.py # Local HTTP server (port 9222)
โ โโโ content.js # DOM extraction logic
โโโ deployment/ # Docker & installer scripts
โโโ extracted_messages/ # Local conversation storage
โโโ data/db/ # SQLite database location
๐ Quick Commands
Server Operations
# Start MCP server (main functionality)
poetry run python -m src.direct_api_server
# Start bridge server (for Chrome extension)
poetry run python extension/bridge_server.py
# Run both with Docker
cd deployment/docker && docker-compose up -d
# One-click install (Mac/Linux)
cd deployment/installer && ./install.sh
Database Operations
# Initialize database
poetry run python -c "from src.models.conversation import init_database; init_database()"
# Run migration from JSON to SQLite
poetry run python deployment/scripts/migrate_data.py
# Backup database
cp data/db/conversations.db data/db/conversations_backup_$(date +%Y%m%d).db
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.
- 7d ago First seen ยท 421 lines ยท 2,545 tokens per session scan B 2549c2a3b55a
mcp-claude-context CLAUDE.md is an instructions file published in the GitHub repository hamzaamjad/mcp-claude-context (1 stars, last pushed 1y ago), licensed MIT. It adds 2,545 tokens to every session, about $0.0127 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
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).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart โ add a new integration in 5 steps, integration architecture and integrationmanifest โ file tracking.