ClaudeMap

Context7

Up-to-date documentation MCP server for libraries and SDKs.

MCP Serversdocscontextupstash

Feeds Claude live, version-accurate library docs at request time, reducing hallucinated APIs from training data.

What it does

  • resolve-library-id: name → resolved Context7 library ID (handles naming collisions)
  • get-library-docs: pulls version-pinned docs + code examples for any library ID
  • Topic filtering: narrow to a specific library feature (hooks, routing, etc.)
  • Live, version-accurate — fetches at request time, no training-data drift
  • Free public server (no API key) plus paid plan for higher rate limits
  • Index covers tens of thousands of libraries (React, Next.js, Tailwind, Anthropic SDKs, MCP SDKs, and more) — see context7.com for the current list

When to use it

Best for Claude Code sessions where the model is hallucinating library APIs or citing outdated patterns. Add it to .mcp.json and Claude can pull current docs for React, Next.js, Tailwind, Anthropic SDKs, MCP SDKs, and many other libraries on Context7's index.

Getting started

npx -y @upstash/context7-mcp

Add to .mcp.json under mcpServers.context7 with no env required for the public server. Optional: set CONTEXT7_API_KEY for higher rate limits.

Things to know

Public server is rate-limited — heavy use in CI may need a paid plan or self-hosted deployment. Some niche libraries are not yet indexed; check the Context7 website before assuming coverage. Docs are fetched at request time, so first invocation has higher latency than cached alternatives.

Repository

upstash/context7

Charted

Related on the map

  • Exa MCP

    MCP Server

    Exa's official MCP server — live web search, crawling, and deep research wired into Claude.

    • official
    • search
    • web
    • mcp
  • Official Chrome DevTools MCP server — performance tracing, network inspection, and live debugging for coding agents.

    • official
    • chrome
    • debugging
    • browser
  • Vercel's handler for spinning up MCP servers on Next.js, Nuxt, Svelte, and more.

    • deploy
    • vercel
    • serverless
    • edge