talira

Context7

Up-to-date docs for AI agents

open coreMITfreeMCP

Context7, from Upstash, gives coding agents current, version-specific documentation and code examples for libraries, pulled from the source, so they stop using outdated APIs from training data. Agents reach it through a remote MCP server (mcp.context7.com/mcp) or a CLI plus skills; you add 'use context7' to a prompt or let the agent call it. A free API key raises rate limits; paid plans add private repositories.

Problems it solves

  • Claude keeps suggesting a Next.js API that was removed two versions ago
  • my coding agent hallucinates functions that don't exist in the library
  • feed the agent the docs for the exact version of the package I'm using
  • code examples from the AI are based on year-old training data
  • give Cursor access to up-to-date library documentation
  • the agent doesn't know about a library released after its cutoff
  • let the agent look up docs for our private repos
  • one tool that works for docs of most popular frameworks

Features

  • version-specific library docs and code examples
  • remote MCP server
  • CLI + skills mode
  • setup command for Cursor, Claude Code, OpenCode
  • private repos on paid plans

Capabilities

Agents can report problemsplan not known
Has an APIplan not known
Has a command line toolplan not known
Has an MCP serverplan not known

Alternatives

The same job

These do what Context7 does.

  1. GitMCP Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
  2. DeepWiki AI-generated documentation and Q&A for public GitHub repositories, with a free MCP server
  3. llms.txt The /llms.txt file, helping language models use your website
  4. Repomix Pack a whole repository into one AI-friendly file

Compare Context7 with the top 3