context7

MCP serverAI & models

Context7 is an MCP server that gives an AI agent current code documentation while it writes code. When a prompt needs library or API details, the agent can pull the relevant docs through Context7 MCP instead of relying on what it already knows. This helps the agent use the right functions and options for the version in use.

Use context7 in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add context7 and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use context7 to resolve library id

Details

Available today. Use it from your connected AI after setup.

Have an AI agent that supports MCP servers.

context7Start free

What your AI can do with it

  • Pull up-to-date code documentation for a library or API
  • Fetch docs while the agent writes code
  • Provide version-specific reference material for a prompt
  • Supply documentation for functions and options the agent needs

Getting started

  1. Have an AI agent that supports MCP servers.
  2. Add the Context7 MCP server to that agent's configuration.
  3. Configure the server with any required connection details.
  4. Restart or reload the agent so it picks up the new server.
  5. Ask the agent to write code that uses a library and let it request docs.

Install context7

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user context7 'https://mcp.context7.com/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://mcp.context7.com/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=context7&config=eyJ1cmwiOiJodHRwczovL21jcC5jb250ZXh0Ny5jb20vbWNwIn0=

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://mcp.context7.com/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add context7 --url 'https://mcp.context7.com/mcp'

    Run it once, then sign in with codex mcp login context7 if the server asks for an account.

From the project's README

As published by upstash/context7 in README.md. This repository publishes several servers, so only the opening is shown here.

[![Dokumentation auf De

Shortened here. Read the whole README on GitHub.

Tools it offers (2)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • resolve-library-id
  • query-docs

Signals

GitHub stars
63k
Forks
3k
Last commit
Oct 2026
Weekly_downloads
486k weekly_downloads
Hacker News mentions
6

Questions

What kind of tool is Context7?
Context7 is an MCP server. It gives an AI agent up-to-date code documentation while the agent writes code.
Does Context7 work with any AI agent?
It works with agents that support MCP servers. The agent must be able to connect to an MCP server.
What documentation can Context7 provide?
It provides up-to-date code documentation for libraries and APIs. The agent can pull the docs it needs for a prompt.
Do I need to install anything besides the server?
You need an agent that supports MCP servers and the Context7 MCP server added to its configuration. Any required connection details must also be set.
Advanced
Delivery
context7 MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-upstash-context7
Source
github.com/upstash/context7
Hosted endpoint
https://mcp.context7.com/mcp