Skip to content
  1. Home
  2. MCP servers
  3. Context7

Context7

Version-specific library docs and code examples fetched into the agent

What it is

A documentation lookup service with an MCP server exposing two tools: one resolves a library name to an ID, the other returns current docs and examples for it. It can also be installed as a CLI plus skill instead of MCP. Aimed at coding agents that otherwise rely on stale training data for library APIs.

Good for

  • Look up current API syntax for a library
  • Get examples for a specific package version
  • Check configuration options before coding

Install or run

npx ctx7 setup

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

Node.js; free Context7 API key recommended for higher rate limits

Worth knowingOnly the MCP server is open source; the backend, parser and crawler are private, and library docs are community-contributed.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for coding

See the topic →
  • REA: Reverse Engineer Anything

    morluto/rea

    MCP server and CLI for agent-driven reverse engineering of apps and binaries

    MCP serverGitHub stars: 456k
  • Chrome DevTools for agents

    ChromeDevTools/chrome-devtools-mcp

    Lets a coding agent control and inspect a live Chrome via DevTools

    MCP serverGitHub stars: 55k
  • GitNexus

    abhigyanpatwari/GitNexus

    Indexes a codebase into a graph of symbols, calls and execution flows

    MCP serverGitHub stars: 48k
  • Context7 plugin

    anthropics/claude-plugins-official

    Current library docs via Context7's hosted MCP server

    MCP serverGitHub stars: 47k