Context7
Context7 is an MCP server that helps AI assistants pull up-to-date, version-specific library documentation and code examples.
Key facts
- Category
- Developer Tools
- GitHub stars
- 57,159
- Forks
- 2,697
- License
- MIT
- Last commit
- Jun 10, 2026
- Best for
- Fetch current library documentation
- Supported clients
- Claude Desktop, Cursor, VS Code, Windsurf, Cline
- Last updated
- Jun 11, 2026
GitHub metrics
- Stars
- 57,159
- Forks
- 2,697
- Open issues
- 20
- Watchers
- 152
- Last commit
- Jun 10, 2026
Scores
GEO score
71/100
Weighted blend: popularity 35%, freshness 25%, growth 25%, maintenance 15%.
Needs ~7 days of metric history
Scores last calculated Jun 11, 2026.
What is Context7?
Context7 is an MCP server that helps AI assistants pull up-to-date, version-specific library documentation and code examples. It belongs to the Developer Tools category and is typically used to fetch current library documentation, get version-accurate code snippets, and reduce hallucinated APIs. Context7 works with Claude Desktop, Cursor, VS Code, Windsurf, Cline. It is distributed under the MIT license.
How to install Context7
Install and run Context7 with the following command, then add it to your MCP client configuration:
npx -y @upstash/context7-mcpSupported clients: Claude Desktop, Cursor, VS Code, Windsurf, Cline.
Context7 use cases
- Fetch current library documentation
- Get version-accurate code snippets
- Reduce hallucinated APIs
Safety notes
- Requires API token
- Yes
- Writes to external systems
- Yes
- Accesses local filesystem
- Unknown
- Connects to a database
- Yes
- Security docs
- Yes
Inferred by rule from each server's metadata, README, and category. "Unknown" means the signal could not be determined — always verify against the official docs before granting access.
Data sources
| Field | Value | Source | Confidence |
|---|---|---|---|
| Forks | 2697 | GitHub REST API | high |
| Last commit | Jun 10, 2026 | GitHub REST API | high |
| License | MIT | GitHub REST API | high |
| Stars | 57159 | GitHub REST API | high |
| Topics | llm, mcp, mcp-server, vibe-coding | GitHub REST API | high |
| Watchers | 152 | GitHub REST API | high |
| Has Authentication Docs | Yes | Repository README | medium |
| Has Security Docs | Yes | Repository README | medium |
| Risk level | High | Automated risk inference | medium |
| Connects Database | Yes | Automated risk inference | low |
| Requires Api Token | Yes | Automated risk inference | low |
| Uses Network Access | Yes | Automated risk inference | low |
| Writes External System | Yes | Automated risk inference | low |
Confidence reflects the source: high = GitHub REST API, medium = README-derived or synthesized, low = inferred from keywords. Fields that cannot be determined are shown as "Unknown" — never fabricated.
Recent changes
- Stars: 9000 → 57159
- Forks: 450 → 2697
- Last commit: May 30, 2026 → Jun 10, 2026
- Stars: 9000 → 57121
- Forks: 450 → 2697
Context7 alternatives
- GitHub MCP Server★ 30.6K · MIT · Jun 11, 2026
Frequently compared with Context7.
- Exa MCP★ 4.6K · MIT · Jun 8, 2026
Frequently compared with Context7.
- Filesystem MCP★ 87K · MIT · Jun 7, 2026
A popular MCP server worth comparing.
Context7 vs related MCP servers
| Server | Stars | Forks | License | Last commit |
|---|---|---|---|---|
| Context7 | 57.2K | 2.7K | MIT | Jun 10, 2026 |
| GitHub MCP Server | 30.6K | 4.4K | MIT | Jun 11, 2026 |
| Exa MCP | 4.6K | 345 | MIT | Jun 8, 2026 |
| Filesystem MCP | 87K | 11K | MIT | Jun 7, 2026 |
Frequently asked questions
What is Context7?
Context7 is an MCP server that helps AI assistants pull up-to-date, version-specific library documentation and code examples. It is categorized under Developer Tools.
How do I install Context7?
Install and run Context7 with: npx -y @upstash/context7-mcp. Then add it to your MCP client configuration.
Which clients support Context7?
Context7 works with Claude Desktop, Cursor, VS Code, Windsurf, and Cline and any MCP-compatible client.
Is Context7 free to use?
Pricing: Free · Open source.
What are good alternatives to Context7?
Popular alternatives include GitHub MCP Server, Exa MCP, and Filesystem MCP.
How popular is Context7 on GitHub?
Context7 has about 57.2K GitHub stars and 2.7K forks.
Last updated