Context7
Rank #7io.github.upstash/context7
Up-to-date code docs for any prompt
Context7 is a Model Context Protocol (MCP) server published by upstash. It ranks #7 of 115,460 servers tracked on MCP Toplist, and its repository has 61,426 GitHub stars. Context7 is listed across 5 registries — Official MCP, mcp.so, Smithery, Glama and PulseMCP, with 5 tracked versions. It was first listed on Apr 9, 2025 and most recently updated on Aug 28, 2026.
Ranks ahead of 115,453 of 115,460 servers on MCP Toplist.
Use Context7
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add --transport http context7 https://server.smithery.ai/upstash/context7-mcp/mcpThis endpoint requires authentication — see the server’s docs for credentials.
claude mcp add context7 -e "CONTEXT7_API_KEY=<your CONTEXT7_API_KEY>" -- npx -y @upstash/context7-mcpReplace each placeholder with your own value before saving.
[mcp_servers.context7]
url = "https://server.smithery.ai/upstash/context7-mcp/mcp"Add to ~/.codex/config.toml. This endpoint requires authentication — see the server’s docs for credentials.
[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]
[mcp_servers.context7.env]
CONTEXT7_API_KEY = "<your CONTEXT7_API_KEY>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
https://server.smithery.ai/upstash/context7-mcp/mcpSettings → Connectors → “Add custom connector”, then paste this URL. This endpoint requires authentication — see the server’s docs for credentials.
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
],
"env": {
"CONTEXT7_API_KEY": "<your CONTEXT7_API_KEY>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"context7": {
"url": "https://server.smithery.ai/upstash/context7-mcp/mcp"
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). This endpoint requires authentication — see the server’s docs for credentials.
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
],
"env": {
"CONTEXT7_API_KEY": "<your CONTEXT7_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"context7": {
"type": "http",
"url": "https://server.smithery.ai/upstash/context7-mcp/mcp"
}
}
}Save as .vscode/mcp.json in your workspace. This endpoint requires authentication — see the server’s docs for credentials.
{
"servers": {
"context7": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
],
"env": {
"CONTEXT7_API_KEY": "<your CONTEXT7_API_KEY>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"context7": {
"serverUrl": "https://server.smithery.ai/upstash/context7-mcp/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. This endpoint requires authentication — see the server’s docs for credentials.
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
],
"env": {
"CONTEXT7_API_KEY": "<your CONTEXT7_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"context7": {
"url": "https://server.smithery.ai/upstash/context7-mcp/mcp"
}
}
}This endpoint requires authentication — see the server’s docs for credentials.
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
],
"env": {
"CONTEXT7_API_KEY": "<your CONTEXT7_API_KEY>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.upstash%2Fcontext7)<a href="https://mcptoplist.com/server/io.github.upstash%2Fcontext7"><img src="https://mcptoplist.com/badge/io.github.upstash%2Fcontext7.svg" alt="MCP Toplist: #7 of 115,460" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 3 registries (4 delisted)
upstash
Other servers by upstash
View all upstash servers →Available versions (5)
| Version | Published |
|---|---|
| 4.0.3 | Aug 28, 2026 |
| 1.0.31 | Nov 28, 2025 |
| 1.0.30 | Nov 24, 2025 |
| 1.0.0 | Oct 22, 2025 |
| 0.1.0 | Nov 25, 2024 |
Frequently asked questions
- Who maintains Context7?
- Context7 is maintained by upstash, which publishes 3 MCP servers (7 total versions) tracked on MCP Toplist.
- Is Context7 listed on the Official MCP Registry?
- Yes — Context7 is listed on the Official MCP Registry, alongside mcp.so, Smithery, Glama and PulseMCP.
- How many versions does Context7 have?
- MCP Toplist tracks 5 versions of Context7, most recently published on Aug 28, 2026.
- Where can I find the source code for Context7?
- The source code for Context7 is hosted at github.com/upstash/context7-mcp.