multi_mcp CLAUDE.md

Repository instructions for Multi-MCP, a server that sends code-analysis work to several AI language models through one interface. It explains the project, its status, development commands, and required checks.

In plain words
What is it for?
Use it when developing, testing, type-checking, or reviewing changes in the Multi-MCP repository.
Why use it?
It gives coding agents the project context and the checks they must follow before creating commits.

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/religa/multi_mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/religa/multi_mcp
Per session 3,146 This file is loaded in full into every session.
When invoked 3,146 The same file — it is already loaded in full.
Security scan B 1 finding. 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.03146 $0.03146
Opus 5 $0.01573 $0.01573
Sonnet 5 $0.00629 $0.00629
Haiku 4.5 $0.00315 $0.00315

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

Security

Grade B, and why

multi_mcp CLAUDE.md scanned grade B with 1 finding 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 3d 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

cat logs/*.mcp.json | jq .
CLAUDE.md · 269 lines

How it starts

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

Project Overview

Multi-MCP is a multi-model AI orchestration server that provides advanced code analysis capabilities through the Model Context Protocol (MCP). It orchestrates multiple LLM providers via LiteLLM to deliver systematic code review and analysis tools.

The server is built with FastMCP and uses a streamlined workflow architecture optimized for fast, cost-effective analysis with models like gpt-5-mini.

Current Status

Production Ready

  • Unit Tests: ✅ 571 unit tests (~2s) - mocked, no API keys needed (includes CLI tests for cli.py and cli_executor.py)
  • Integration Tests: ✅ 96 tests (~8-10min) - real API calls, run locally before PR
  • Total Coverage: ✅ 667 tests total (~93% code coverage)
  • Cross-platform: ✅ unit suite green on Linux, macOS, and Windows (CI matrix)
  • Model Config: YAML-based model configuration with aliases and use-case defaults
  • Logging: MCP tool request/response logging enabled
  • Implementation: Checklist-based workflow with expert validation enabled
  • File Limit Enforcement: ✅ settings.max_files_per_review is enforced

Development Commands

# Type checking (required before commits)
uv run pyright

# Linting and formatting (required before commits)
uv run ruff check .
uv run ruff format .

# Run all unit tests (571 tests, ~2s, all passing ✅)
uv run pytest tests/unit/ -v

# Run integration tests (96 tests, ~5-7min with parallel, all passing ✅)
# Note: Requires real API keys (OPENAI_API_KEY, etc.)
# CLI tests will skip gracefully if CLIs not installed
RUN_E2E=1 uv run pytest tests/integration/ -n auto -v

# Or run sequentially (slower, ~15min)
RUN_E2E=1 uv run pytest tests/integration/ -v

# Run all tests (667 total)
RUN_E2E=1 uv run pytest tests/ -v

# Run the MCP server
./scripts/run_server.sh
# or: uv run python multi_mcp/server.py

# View MCP logs (request/response)
ls -lh logs/*.mcp.json
cat logs/*.mcp.json | jq .

Read the full file on GitHub · 269 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. 3d ago First seen · 269 lines · 3,146 tokens per session scan B 18595cc11e01

Subscribe to this mod's changes

multi_mcp CLAUDE.md is an instructions file published in the GitHub repository religa/multi_mcp (35 stars, last pushed 20d ago), licensed MIT. It adds 3,146 tokens to every session, about $0.0157 per session on Opus 5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.