MCP MCP server · io.github.upstash
io.github.upstash/context7
Up-to-date code docs for any prompt
- host stars
- 62,041
- 30-day movement
- +16053/day
- Related entries
- 3
- Connections
- 2
npmbothstdiostreamable-http
Context7 is an MCP server from Upstash that injects up-to-date, version-specific library documentation and code examples into LLM prompts. It exposes two tools, resolve-library-id (mapping a library name to a Context7 ID) and query-docs (fetching relevant docs for that ID).
Reach for it when your coding assistant keeps answering with outdated or generic library knowledge and you want current docs pulled into the prompt.
Use it to
- Resolve a library name to its Context7 ID before querying docs
- Fetch version-specific documentation for a library in a prompt
- Configure a rule or skill so library questions trigger Context7 automatically
- Search the Context7 index via the ctx7 CLI to find library IDs
For Developers using LLM coding assistants who need current library docs
- Runs
- both
- Transport
- streamable-http, stdio
- Tools
- 2
- Packaged as
- npm:@upstash/context7-mcp, mcpb:https://github.com/upstash/context7/releases/download/mcpb-v4.1.1/context7.mcpb
- Install
- npx -y @upstash/context7-mcp
- Needs
- 2 environment variables, including secrets
- Version
- 4.1.1
- Last release
- 2026-09-14
- Bundle downloads, lifetime
- 12
topicsmcp-serverdocumentationllm-toolsdeveloper-toolscode-assistants