Context7
Up-to-date version-specific library documentation MCP server for coding agents
Replaces hand-rolled scripts and custom glue code for mcp servers & registries workflows.
Dossier overview
Context7 by Upstash solves stale LLM training data by injecting live, version-accurate code examples and API docs straight into your coding agent's context window via MCP.
Quickstart
npx -y @upstash/context7-mcpBest use cases
- Preventing coding agents from hallucinating deprecated APIs
- Pulling exact framework docs into Claude Code, Cursor, or Windsurf
- Grounding code generation on newly released library versions
Field notes
Strengths
- Zero-config remote and stdio MCP server
- Token-budgeted, version-pinned documentation snippets
- Open-source codebase you can inspect or self-host
Tradeoffs
- Usage limits apply on free or starter tiers
- Self-hosting requires managing your own keys and runtime
Tags & capabilities
Compare with alternatives
| Tool | Pricing | Open source | Type |
|---|---|---|---|
| Context7 (this dossier) | Free / OSS | Yes | MCP Server |
| Stripe Agent Toolkit & MCP | Free / OSS | Yes | MCP Server |
| GitHub MCP Server | Free / OSS | Yes | MCP Server |
| Supabase MCP | Free / OSS | Yes | MCP Server |
| Cloudflare MCP Servers | Free / OSS | Yes | MCP Server |
Questions
Is Context7 open source?
Yes. Context7 is open source and available on GitHub (https://github.com/upstash/context7).
What are the top alternatives to Context7?
Top alternatives in MCP Servers & Registries include Stripe Agent Toolkit & MCP, GitHub MCP Server, Supabase MCP, Cloudflare MCP Servers.