Context7

An MCP server that provides LLMs with up-to-date, version-specific documentation and code examples for programming libraries. Resolves library names to Context7 IDs, then retrieves current documentation and examples directly into the agent's context. Prevents hallucinated or outdated API references by pulling from live sources.

Evaluated Mar 06, 2026 (0d ago) vunknown
Homepage ↗ Repo ↗ Developer Tools mcp documentation code-examples version-specific upstash llm-context library-docs
⚙ Agent Friendliness
79
/ 100
Can an agent use this?
🔒 Security
78
/ 100
Is it safe for agents?
⚡ Reliability
75
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
80
Documentation
78
Error Messages
55
Auth Simplicity
85
Rate Limits
75

🔒 Security

TLS Enforcement
95
Auth Strength
75
Scope Granularity
68
Dep. Hygiene
80
Secret Handling
72

Up-to-date documentation MCP. Fetches live docs from external sources. Validate document sources — SSRF protection needed. Cached content may become stale.

⚡ Reliability

Uptime/SLA
75
Version Stability
78
Breaking Changes
72
Error Recovery
75
AF Security Reliability

Best When

You are coding with an AI assistant and need accurate, current documentation for popular open source libraries rather than relying on the LLM's potentially outdated training data.

Avoid When

You primarily work with internal/private libraries, or you need guaranteed documentation accuracy. The community-contributed nature means coverage and quality vary by library.

Use Cases

  • Getting current API documentation while coding with an AI assistant
  • Preventing AI hallucination of deprecated or nonexistent API methods
  • Looking up version-specific library usage examples during development
  • Augmenting any MCP-compatible coding assistant with live documentation

Not For

  • Private or internal library documentation (community-contributed public docs only)
  • Non-programming documentation needs
  • Guaranteed-accurate documentation (community contributed, no accuracy guarantee)

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: api_key oauth2
OAuth: Yes Scopes: No

Free tier works without auth. API key via CONTEXT7_API_KEY header for higher rate limits. OAuth 2.0 supported for remote HTTP connections only (not stdio transport). Get API key from context7.com/dashboard.

Pricing

Model: freemium
Free tier: Yes
Requires CC: No

MCP server code is MIT licensed. Backend parsing/crawling engine is proprietary. Free tier with rate limits; upgraded API keys available from dashboard for higher limits. Pricing details not publicly documented.

Agent Metadata

Pagination
none
Idempotent
Full
Retry Guidance
Not documented

Known Gotchas

  • Requires explicit 'use context7' invocation unless rules are configured in the client
  • OAuth only available for remote HTTP connections, not local stdio transport
  • Community-contributed library docs with no accuracy guarantee
  • Backend parsing engine is proprietary - you depend on their service for doc freshness
  • Library resolution may return multiple matches requiring disambiguation

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Context7.

$99

Scores are editorial opinions as of 2026-03-06.

5208
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered