Back to catalog

context7

by upstash

Pending

Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors

44,518stars
2,133forks
TypeScript
Added 12/27/2025
MCP Serversllmmcpmcp-servervibe-coding
Installation
# Add to your Claude Code skills
git clone https://github.com/upstash/context7
README.md

Cover

Install MCP Server

Context7 MCP - Up-to-date Code Docs For Any Prompt

Website smithery badge NPM Version MIT licensed

繁體中文 简体中文 日本語 한국어 문서 Documentación en Español Documentation en Français Documentação em Português (Brasil) Documentazione in italiano Dokumentasi Bahasa Indonesia Dokumentation auf Deutsch Документация на русском языке Українська документація Türkçe Doküman Arabic Documentation Tiếng Việt

❌ Without Context7

LLMs rely on outdated or generic information about the libraries you use. You get:

  • ❌ Code examples are outdated and based on year-old training data
  • ❌ Hallucinated APIs that don't even exist
  • ❌ Generic answers for old package versions

✅ With Context7

Context7 MCP pulls up-to-date, version-specific documentation and code examples straight from the source — and places them directly into your prompt.

Add use context7 to your prompt (or set up a rule to auto-invoke):

Create a Next.js middleware that checks for a valid JWT in cookies
and redirects unauthenticated users to `/login`. use context7
Configure a Cloudflare Worker script to cache
JSON API responses for five minutes. use context7

Context7 fetches u...