MCP server
Context7
io.github.upstash/context7
Checked 25 Oct 2026, 20:29 UTC · Connected to it and listed its tools
Up-to-date docs for AI agents
Working at last checkAbout 1,411 tokens per request once connected2 toolsDescription tries to instruct AI agents
https://mcp.context7.com/mcp
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Tools
- 2
- Token cost
- About 1,411 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 25 Oct 2026, 20:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http context7 https://mcp.context7.com/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.context7] url = "https://mcp.context7.com/mcp"
Gemini CLI
{"mcpServers":{"context7":{"httpUrl":"https://mcp.context7.com/mcp"}}}
Cursor
{"mcpServers":{"context7":{"url":"https://mcp.context7.com/mcp"}}}
VS Code
{"servers":{"context7":{"type":"http","url":"https://mcp.context7.com/mcp"}}}
Antigravity
agy mcp add context7 https://mcp.context7.com/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"context7","server_url":"https://mcp.context7.com/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"context7","server_url":"https://mcp.context7.com/mcp"}
Tools
query-docs~585 tokens
Retrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework. You must call 'Resolve Context7 Library ID' tool first to obtain the exact Context7-compatible library ID required to use this tool, UNLESS the user explicitly provides a libraryresolve-library-id~826 tokens
Resolves a package/product name to a Context7-compatible library ID and returns matching libraries. You MUST call this function before 'Query Documentation' tool to obtain a valid Context7-compatible library ID UNLESS the user explicitly provides a library ID in the format '/org/project' or '/org/p
Browse
Related MCP servers
- Ned Watch
Wake me when my agent misses its heartbeat. Deadman, overrun, HTTP, TLS, content; US+EU nodes. - Utility Converter
7 utility tools in here: exchange rate, UUID, hash, Base64, timestamp, calculator, unit conversion. - UTC ISO date
UTC ISO date - UTC ISO week-date
UTC ISO week-date - tilwhen date engine
Deterministic date arithmetic with auditable receipts: business days, due dates, holidays. - Agent Toolbox
13 free utility tools for AI agents: web text, markdown, hashing, IDs, dates, units, JSON. - HTTP-date IMF-fixdate shape, value discarded
HTTP-date IMF-fixdate shape, value discarded - Vietnamese Calendar
Vietnamese Lunar Calendar for date and calendar conversion, and cultural insights.
Badge for your README
[](https://aptlynx.net/servers/io.github.upstash/context7)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents