Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
Open-source AI context firewall for governed model, retrieval, memory, and tool access.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
YAGAMI_HEADLESS, YAGAMI_MCP_SERVER_ENABLED, YAGAMI_REQUIRE_AUTHYou need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"yagami": {
"command": "uvx",
"args": [
"yagami",
"serve",
"--host",
"127.0.0.1",
"--port",
"8000"
],
"env": {
"YAGAMI_HEADLESS": "your-value",
"YAGAMI_MCP_SERVER_ENABLED": "your-value",
"YAGAMI_REQUIRE_AUTH": "your-value"
}
}
}
}Run this in your terminal
claude mcp add yagami --env YAGAMI_HEADLESS=your-value --env YAGAMI_MCP_SERVER_ENABLED=your-value --env YAGAMI_REQUIRE_AUTH=your-value -- uvx yagami serve --host 127.0.0.1 --port 8000Fill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"yagami": {
"command": "uvx",
"args": [
"yagami",
"serve",
"--host",
"127.0.0.1",
"--port",
"8000"
],
"env": {
"YAGAMI_HEADLESS": "your-value",
"YAGAMI_MCP_SERVER_ENABLED": "your-value",
"YAGAMI_REQUIRE_AUTH": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"yagami": {
"type": "stdio",
"command": "uvx",
"args": [
"yagami",
"serve",
"--host",
"127.0.0.1",
"--port",
"8000"
],
"env": {
"YAGAMI_HEADLESS": "your-value",
"YAGAMI_MCP_SERVER_ENABLED": "your-value",
"YAGAMI_REQUIRE_AUTH": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified with the GitHub account MatthewTracy, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.8.6) reached the registry 4 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
An AI router that chooses models and protects privacy.
Yagami automatically routes requests to local or cloud models based on the task and your privacy policy. Detected sensitive information, including PHI, stays local under the default policy. Local models can reduce cloud API costs; more demanding work and image generation can use cloud providers when allowed.
Documentation | Gateway API | Deployment | Security | Roadmap
Watch the 59-second demo: local answers, a fictional patient case kept on the machine, and cloud image generation. The recording uses real models, synthetic patient information, and configured providers with yagami serve. The no-credential demo below keeps cloud routing disabled.
The no-credential demo uses your configured Ollama model when it is installed; otherwise it opens a clearly labeled policy-only fallback. Choose one command:
uvx yagami demo
Open http://127.0.0.1:8000, or use docker compose -f compose.demo.yaml up from a clone. Demo mode blocks cloud routing while exercising the UI, policy, lineage, storage, and audit path. For local AI answers, install Ollama and run ollama pull llama3.2:3b-instruct-q4_K_M before starting the demo.
Yagami is for developers and platform/security teams that need to control where agent context goes and which tools it may execute. For example: a coding agent can keep repository secrets on-device and require an identity-bound, one-time approval before a dangerous tool call.
Yagami sits between software and local models, cloud LLMs, retrieval systems, memory, and tools. Existing OpenAI SDK applications can adopt it by changing one base_url; Yagami then classifies context locally, applies versioned policy, and records content-free evidence for each decision.
Take the no-data security tour or run the flagship security demos for secret containment, poisoned retrieval, and identity-bound tool approval.
Initialize persistent user configuration, check the host, and start Yagami:
yagami init
yagami doctor yagami serve
Install yagami[providers] when the Yagami process or the example client uses Anthropic/OpenAI-compatible SDKs. PDF ingestion and OS key storage are separate ingest and desktop extras; see configuration.
Then point an OpenAI client at the gateway:
from openai import OpenAI
client = OpenAI( base_url="http://127.0.0.1:8000/v1", api_key="your-yagami-project-key", )
response = client.chat.completions.create( model="yagami-auto", messages=[{"role": "user", "content": "Summarize this document."}], metadata={ "purpose": "internal-documentation", "sensitivity": "none", "session_id": "example-session", }, ) print(response.choices[0].message.content)
Supported caller sensitivity values are none, phi, phi_medical, and secret. A caller hint can make the policy stricter; it cannot lower a sensitivity detected by Yagami.
For production authentication, policy, and deployment settings, follow the deployment guide.
| Area | Included |
|---|---|
| Compatible APIs | OpenAI Chat Completions, core Responses API, Streamable HTTP MCP |
| Identity | Scoped project API keys and OIDC/JWT workload identity |
| Policy | Versioned YAML/JSON rules, restrictive merging, preview, replay, shadow mode, regression tests, signed bundles |
| Privacy | Local classification, caller sensitivity, context lineage, AES-GCM tokenization, rehydration, output DLP, optional Presidio |
| Tools | Function calling, governed built-in skills, stdio and remote MCP, one-time approvals |
| Operations | Spend/rate/concurrency/context limits, health checks, Prometheus, OpenTelemetry, SIEM export, approval webhooks |
| Packaging | Python 3.11-3.14, PyPI, non-root container, Docker Compose, Helm, SBOMs, checksums, and build provenance |
Local generation works with Ollama, llama.cpp through the optional llama-cpp-python runtime, and Microsoft Foundry Local through its loopback OpenAI-compatible service. Direct cloud adapters cover Anthropic, OpenAI, Mistral, Groq, OpenRouter, Google Gemini, and Stability AI image generation.
Yagami also works with LangChain/LangGraph, the Vercel AI SDK, Microsoft Presidio, Splunk HEC and generic SIEM webhooks, Slack and Teams approval notifications, and upstream gateways such as LiteLLM, Portkey, Kong, or Envoy. See the integration recipes.
Yagami is not trying to replace every gateway, validator, or security scanner. Its focus is deterministic post-classification containment, governed tool execution, and content-free decision evidence. See the honest comparison guide for when LiteLLM, Guardrails AI, NeMo Guardrails, Presidio, LlamaFirewall, or a direct provider SDK is the better choice—and how to combine them with Yagami.
flowchart LR
A["Application or agent"] --> B["Authentication and project limits"] B --> C["Local classification and context lineage"] C --> D["Versioned policy"] D --> E{"Allowed destination or capability"} E --> F["Local or approved model"] E --> G["Retrieval, memory, or tool"] F --> H["Output inspection"] G --> H H --> I["Response"] D --> J["Content-free policy passport and audit chain"] H --> J
Policy is the final authority. Slash commands and explicit backend selection cannot override a sensitive-data restriction. Classifier failures fail local by default, and cloud routes can be blocked entirely or stopped at a daily spend cap.
Yagami is an enforcement component, not a compliance certification. Automated detection can miss sensitive data. Strict deployments should declare sensitivity at the caller, use a local-only policy, test organization-specific cases, encrypt storage at the host or volume layer, and review the threat model.
The project is alpha. Validate policy and failure behavior against your own requirements before production use.
Focused issues and pull requests are welcome. Read CONTRIBUTING.md, the security policy, and the code of conduct.
MIT - Copyright (c) 2026 Matthew Tracy and Yagami contributors.