Context7
Upstash's Context7 MCP. Pulls version-specific library docs into your agent so it stops hallucinating outdated APIs.
Delv Safety Grade: A
Score 84/100 · assessed 2026-04-28
Context7 is Upstash's documentation fetcher that pulls version-specific library docs into Claude's context window. The permissions model is excellent: read-only network requests to fetch documentation, no filesystem writes, no shell access, no secrets required. Upstash is a credible mid-tier vendor (serverless Redis/Kafka) with active maintenance. The supply chain is slightly weaker because installation uses npx without a traditional npm package, relying on their setup script. Transparency is strong with open source code, clear docs, and active GitHub presence. No known security incidents. The tool solves a real problem (API version hallucination) with minimal attack surface. Main risk is the npx-based install pattern and network dependency on Upstash's documentation service, but both are reasonable for this use case.
Lethal Trifecta (prompt-injection exposure)
TWO OF THREEPulls library docs from registered sources. Generally curated; small input-axis risk in the long tail.
Green flags
- Read-only network access, no filesystem or shell permissions
- No environment variables or secrets required
- Upstash is established vendor with active GitHub presence
- Solves real problem (version-specific docs) with narrow scope
- Open source with clear documentation and examples
Red flags
- npx-based install without traditional npm package versioning
- Network dependency on Upstash's external documentation service
- No explicit rate limiting or quota documentation visible
Permissions requested
Install
npx ctx7 setup
Review
Install it if you work with fast-moving libraries or need version-specific API references on tap. Skip it if you're only using mature, stable dependencies where the agent already knows the APIs cold. The setup is trivial, the upside is real, and it costs you nothing but a config line.
Good at
- Stops agents hallucinating outdated or wrong API signatures by pulling current, version-pinned docs on demand.
- Setup is one command and a config line, no API keys or external dependencies.
- Caches fetched docs so repeat queries are fast.
- Works across multiple MCP hosts, not just Claude Desktop.
- Particularly useful for fast-moving frameworks like Next.js, Drizzle, or Prisma where breaking changes land often.
Watch out
- Only as good as the upstream documentation it indexes, so poorly documented libraries stay poorly documented.
- First fetch for a new library adds noticeable latency while it pulls and chunks the docs.
- Manual config required for hosts beyond Claude Desktop, though it's still straightforward.
- No offline mode, so you need a network connection for fresh doc pulls.
Use cases
- Fetching the right Next.js 16 docs in-flow
- Looking up a Postgres extension API on demand
- Avoiding deprecated method names in generated code
- Pinning a library version per project
Getting started
Works with
Similar MCPs
- MobbinReference 621,500+ real app screens from inside Claude, Cursor, and other AI tools. Mobbin's design library exposed as MCP so agents can work from real UI patterns instead of guessing.
- Discogs MCPSearches the Discogs music catalogue for releases, artists, labels, and marketplace listings.
- Unsplash MCPSearches Unsplash for high-quality stock photos with filters for orientation, colour, and size.
- OP.GG MCPProvides gaming data for League of Legends, TFT, and Valorant including champion analytics, esports schedules, and meta comps.