MCP serverOfficial
Context7
- Repository:
- github.com/upstash/context7
- Homepage:
- context7.com
- Stars:
- 64k
- Last push:
- 2026-10-27
- License:
- MIT
Up-to-date docs for AI agents
Good fit for
- No install, runs remotely
- Official from Upstash
- One-command install
Facts
- Category
- Developer tools, Knowledge and memory
- Pricing
- Unknown
- Authentication
- API key, OAuth
- Transport
- stdio, Streamable HTTP
- Hosting
- Local, Remote
- Maker
- Official
- Access
- Read only
- Language
- TypeScript
- Install method
- npx, MCP bundle, Remote URL
- Operating system
- Unknown
- Client
- Claude Desktop, Cursor, VS Code
- License
- Permissive
- Maintenance
- Active
Install
Remote
claude mcp add --transport http context7 https://mcp.context7.com/mcp --header 'Authorization: <YOUR_VALUE>'Local
claude mcp add --transport stdio context7 -- npx -y @upstash/context7-mcpRemote
Customize > Connectors > + Add > Add custom connector
Name: context7
URL: https://mcp.context7.com/mcp
Sign in: "No sign in"
Header: Authorization: <YOUR_VALUE>
Click Add.LocalPaste into claude_desktop_config.json
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}RemotePaste into ~/.cursor/mcp.json
{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "<YOUR_VALUE>"
}
}
}
}LocalPaste into ~/.cursor/mcp.json
{
"mcpServers": {
"context7": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}RemotePaste into .vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "context7-authorization",
"description": "Authorization for context7",
"password": true
}
],
"servers": {
"context7": {
"type": "http",
"url": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "${input:context7-authorization}"
}
}
}
}LocalPaste into .vscode/mcp.json
{
"servers": {
"context7": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Remote
{
"mcpServers": {
"context7": {
"serverUrl": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "<YOUR_VALUE>"
}
}
}
}Local
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Remote
[mcp_servers.context7]
url = "https://mcp.context7.com/mcp"
http_headers = { Authorization = "<YOUR_VALUE>" }Local
[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]Remote
{
"mcpServers": {
"context7": {
"httpUrl": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "<YOUR_VALUE>"
}
}
}
}Local
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Env vars and secrets
CONTEXT7_API_KEYEnv varSecretAPI key for authentication
AuthorizationHeaderSecretAPI key for authentication. Accepts "Bearer <key>" or the raw key.
Tools
From the README
resolve-library-idResolves a general library name into a Context7-compatible library ID.
query-docsRetrieves documentation for a library using a Context7-compatible library ID.
Ratings
Not enough ratings yet
Ratings show once 3 people have rated.
Sign in to rate and comment. Sign in
Comments (0)
Sign in to rate and comment. Sign in
No comments yet.
Alternatives
From the same category
| Name | Pricing | Authentication | Hosting | Stars |
|---|---|---|---|---|
| browser-useOfficial | Unknown | API key | Local, Remote | 119k |
| Pascal 3D EditorOfficial | Unknown | None | Local, Remote | 25k |
| Oh My Posh ValidatorOfficial | Unknown | None | Remote | 24k |
| Repowise | Free | None | Local | 7.9k |
| apify-mcp-serverOfficial | Unknown | API key, OAuth | Remote | 14k |
| PostHog MCP ServerOfficial | Unknown | API key | Remote | 40k |
Score: 88
- Popularity
- 100
- Maintenance
- 100
- Trust
- 73
- Completeness
- 88
- Community
- 50
Formula version 1
Listed in:
Official MCP Registry, awesome-mcp-servers.Data from the Official MCP Registry.