Skip to content

MCP Server

upstash/context7

upstash/context7· TypeScript

MCP server that injects current, version-specific library docs into your coding LLM.

GitHub stats

Stars
54,099
Forks
2,562
Watchers
151
Open issues
134

meta

License
MIT
Primary language
TypeScript
Last commit
2026-04-29
Stats fetched at
2026-04-29

Context7 is an MCP server from Upstash that fetches up-to-date, version-pinned documentation and code examples for thousands of libraries and pipes them into your LLM context on demand. Plug it into Claude Code, Cursor, Windsurf, or any MCP-compatible client and add `use context7` to a prompt to pull the relevant docs. Solves the classic problem of models hallucinating outdated APIs from stale training data. Hosted service plus self-host option; install via npx or one-click in supported editors.

Editor's verdict

The default MCP pick when your model keeps generating deprecated API calls — especially for fast-moving libs like Next.js, Tailwind, or LangChain. Cheap to add, low cognitive overhead, works across editors. Trade-off: docs coverage and freshness depend on Context7's indexing pipeline, and you're sending prompts to their hosted endpoint by default (self-host if that matters). Skip it if you only work in stable, well-trained-on stacks like vanilla Python stdlib — the extra hop won't earn its keep.

Last updated: 2026-04-29

We use cookies

Anonymous analytics help us improve the site. You can opt out anytime. Learn more