#44th of 6 in MCP servers for developers

context7

Fetches current, version-specific library docs into coding agent prompts

Stars
62.9k
License
MIT
Last commit
Oct 2026
Last release
Oct 2026
Language
TypeScript

Overview

Context7 looks up documentation and code examples for a named library and version, then returns them to the coding agent as context. It runs as an MCP server with two tools (resolve-library-id, query-docs) or as a ctx7 CLI plus skill. Setup is one command, npx ctx7 setup, which handles OAuth and API key generation. The hosted service at mcp.context7.com does the retrieval.

Who it is for: Developers using AI coding agents who need current library docs

Strengths

  • Two modes: MCP server, or ctx7 CLI with an installed skill
  • Library IDs like /vercel/next.js skip matching; version can be named in the prompt
  • npx ctx7 setup configures Cursor, Claude Code or opencode
  • Also ships a TypeScript SDK and Vercel AI SDK tools

Weaknesses

  • API backend, parsing and crawling engines are private; repo has only the MCP server
  • Relies on the hosted service at mcp.context7.com; local run is a separate guide
  • Free API key recommended for higher rate limits; exact limits unknown
  • Docs are community-contributed; accuracy and security are not guaranteed

What it needs

  • no GPU
  • Needs Node.js 18+, Context7 hosted API

Also in MCP servers for developers

See all 6
Also in MCP servers for developers
RankProjectScore
1codegraphLocal code knowledge graph served to coding agents over MCP73.7k stars, MIT80 out of 100
2chrome-devtools-mcpMCP server that lets coding agents drive and debug a live Chrome53.2k stars, Apache-2.064 out of 100
3codebase-memory-mcpMCP server that indexes codebases into a queryable knowledge graph46.3k stars, MIT62 out of 100
#5github-mcp-serverMCP server exposing GitHub repos, issues, PRs and Actions to AI tools33.5k stars, MIT54 out of 100
#6cli-anythingGenerates command-line wrappers so AI agents can drive desktop and backend software51.9k stars, Apache-2.043 out of 100