Context7 is a documentation service that puts current, version-specific library documentation and code examples into prompts for large language models and AI coding editors. Developers use it to help coding agents produce answers based on the libraries they actually use; the catalogue entries provide ways for agents to access Context7 through its CLI or MCP server.
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.
git clone --depth 1 https://github.com/upstash/context7Wrote 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/plugins/upstash/context7/gemini-extension)<a href="https://agentmods.dev/plugins/upstash/context7/gemini-extension"><img src="https://agentmods.dev/badge/plugins/upstash/context7/gemini-extension/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.
<a href="https://agentmods.dev/plugins/upstash/context7/gemini-extension"><img src="https://agentmods.dev/badge/plugins/upstash/context7/gemini-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
context7 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 1mo 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.
What it actually says
{
"name": "context7",
"description": "Up-to-date docs for AI agents",
"version": "1.0.0",
"settings": [
{
"name": "API Key",
"description": "Context7 API key. Create new key at https://context7.com/dashboard.",
"envVar": "CONTEXT7_API_KEY"
}
],
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp", "--api-key", "${CONTEXT7_API_KEY}"]
}
}
}
What ships with it
16 files beside gemini-extension.json in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/eve-docs-agent/.env.example 341 B
- examples/eve-docs-agent/.gitignore 123 B
- examples/eve-docs-agent/.vercelignore 44 B
- examples/eve-docs-agent/agent/agent.ts 107 B runs code
- examples/eve-docs-agent/agent/channels/eve.ts 210 B runs code
- examples/eve-docs-agent/agent/instructions.md 732 B
- examples/eve-docs-agent/agent/lib/context7.ts 599 B runs code
- examples/eve-docs-agent/agent/tools/search_docs.ts 1.0 KB runs code
- examples/eve-docs-agent/AGENTS.md 724 B
- examples/eve-docs-agent/CLAUDE.md 11 B
- examples/eve-docs-agent/LICENSE 1.1 KB
- examples/eve-docs-agent/package.json 873 B
- examples/eve-docs-agent/pnpm-lock.yaml 30 KB
- examples/eve-docs-agent/pnpm-workspace.yaml 203 B
- examples/eve-docs-agent/README.md 4.4 KB
- examples/eve-docs-agent/tsconfig.json 284 B
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.
- 1mo ago Changed de777eb321e4
- 2mo ago First seen · 19 lines scan A cfc93e200311
context7 is a plugin published in the GitHub repository upstash/context7 (65,657 stars, last pushed yesterday), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-09-08.
context7 compared with plugins from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context7upstash/context7 | Plugin | 66k | yesterday | MIT | A | — | Gemini CLI |
| hyper-mcphyper-mcp-rs/hyper-mcp | Plugin | 884 | 4d ago | Apache-2.0 | A | — | Claude Code |
| livetennisapilivetennisapi/livetennisapi-mcp | Plugin | 125 | today | MIT | A | — | Claude Code |
| mcp-zap-connectdtkmn/mcp-zap-server | Plugin | 71 | today | Apache-2.0 | A | — | Claude Code |
| scraperapiscraperapi/scraperapi-skills | Plugin | 10 | 5d ago | MIT | A | — | Claude Code |
| umtMarkgatcha/universal-mcp-toolkit | Plugin | 16 | 23d ago | MIT | A | — | Claude Code |
| declaudetenkenco/declaude | Plugin | 1 | 6d ago | MIT | A | — | Claude Code |