---
title: "Context7 MCP: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/mcp-servers/context7/
description: "Resolves a library identity and retrieves documentation relevant to a specific coding question through Context7's hosted index."
---

# Context7 MCP: review, setup & limitations · Undominated.ai

> Resolves a library identity and retrieves documentation relevant to a specific coding question through Context7's hosted index.

[← Explore all mcp servers](/mcp-servers/)

DEVELOPER DOCUMENTATION / Upstash

# Context7 MCP

Resolves a library identity and retrieves documentation relevant to a specific coding question through Context7's hosted index.

 [See setup guidance ↓](#setup)[Original source ↗](https://context7.com)

SOURCE REVIEW

 Reviewed 2026-10-13
 Evidence 6 linked sources
 Publisher Upstash
 Licence [MIT ↗](https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/LICENSE)
 Revision 2dcbb295e4a2
 [Read what was—and wasn’t—checked ↓](#review)

“Up-to-date Code Docs For Any Prompt”

 [Upstash · upstream description ↗](https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/README.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - Separates library identification from documentation retrieval, making the selected upstream library visible before an answer is assembled.
- Accepts a task-specific query rather than returning an undifferentiated documentation dump.

### A good fit for

 - Checking current library setup and API usage while implementing a feature.
- Retrieving documentation for an explicitly selected library or version.

### Weigh up before choosing

 - Documentation projects are community-contributed; the publisher does not guarantee their accuracy, completeness or security.
- Queries and library identifiers go to the hosted service even when the local MCP adapter is used.
- An API key and account limits affect service access; a repository licence does not grant rights over every indexed library's documentation.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - README.md: setup flow, hosted endpoint, tool arguments and content disclaimer.
- package.json: TypeScript monorepo and published MCP package identity.
- LICENSE: MIT terms for the adapter repository.
- packages/mcp/src/index.ts
- packages/mcp/package.json
- docs/resources/all-clients.mdx: per-client configuration examples, OAuth endpoint and tool parameters.

### Our findings

 - The two documented tools have different roles: resolve-library-id selects a library, while query-docs retrieves relevant material for a known ID.
- The current setup command can install either CLI/Skills or MCP mode; choosing the mode is part of setup.
- A local adapter is not an offline documentation index.
- The Claude Desktop example in docs/resources/all-clients.mdx launches npx -y @upstash/context7-mcp with --api-key YOUR_API_KEY. The same file documents a remote https://mcp.context7.com/mcp entry with an Authorization: Bearer header.
- packages/mcp/src/index.ts registers resolve-library-id and query-docs with readOnlyHint true and destructiveHint false. It refuses --api-key with --transport http, where the key belongs in an HTTP header.
- At this commit the README says the ctx7 CLI needs Node.js 22.13 or newer (Node.js 18 at the previous pin), and query-docs takes an optional language parameter.

### Not established by this review

 - Server startup, authentication and tool execution were not tested.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Connect a server deliberately.

[Upstream setup instructions ↗](https://context7.com/docs/resources/all-clients)

DOCUMENTED COMMAND

 npx ctx7 setup Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - Run the official setup command and select MCP mode, or configure the documented https://mcp.context7.com/mcp endpoint manually.
- Complete OAuth/API-key setup through the official dashboard and client instructions; do not put account credentials in a shared configuration.

### Before you start

 - A compatible MCP client.
- Node.js 22.13 or newer for the setup CLI; a Context7 account/API key is recommended for higher service limits.

### Documented configuration example

Use the client and authentication context described in the setup guidance. Configuration formats vary between hosts.

 {
 "mcpServers": {
 "context7": {
 "command": "npx",
 "args": [
 "-y",
 "@upstash/context7-mcp",
 "--api-key",
 "YOUR_API_KEY"
 ]
 }
 }
} Copy configuration ↗

### Compatibility

Remote HTTP MCP clients with the authentication configuration described in their client guide. · Node.js for the documented setup CLI/local adapter path.

### Implementation

TypeScript

### Transports

stdio · Streamable HTTP

### Hosted documentation queries

 - Sends library names, identifiers and query text to Context7.
- The documented MCP tools retrieve documentation; they do not edit the project.
- Authenticates with an API key (--api-key or CONTEXT7_API_KEY for stdio, an Authorization Bearer header for HTTP) or with OAuth on the remote /mcp/oauth endpoint.

### Cost model

Hosted access is subject to Context7 account and usage limits; check current service terms for the intended workload.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Context7 setup and tool documentation ↗](https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/README.md) Checked 2026-10-13 https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/README.md Supports: summary, install, compatibility, access, transports, whySelected, bestFor, limitations, review
- [Monorepo manifest ↗](https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/package.json) Checked 2026-10-13 https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/package.json Supports: language, review
- [Repository licence ↗](https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/LICENSE) Checked 2026-10-13 https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/LICENSE Supports: license
- [Implementation: packages/mcp/src/index.ts ↗](https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/packages/mcp/src/index.ts) Checked 2026-10-13 https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/packages/mcp/src/index.ts Supports: review, transports
- [Implementation: packages/mcp/package.json ↗](https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/packages/mcp/package.json) Checked 2026-10-13 https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/packages/mcp/package.json Supports: language, review, install
- [Context7 MCP client configuration examples ↗](https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/docs/resources/all-clients.mdx) Checked 2026-10-13 https://github.com/upstash/context7/blob/2dcbb295e4a2664b3b34aa6fa0c0b4f33fd08101/docs/resources/all-clients.mdx Supports: configExample, access, review, OAuth only on the remote /mcp/oauth endpoint

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### AWS Documentation MCP Server ↗ Fetches AWS’s own documentation so a service claim can be cited instead of paraphrased.](/mcp-servers/awslabs-aws-documentation/)[### Discord Developer Docs MCP ↗ Hosted Discord server providing search and retrieval over the public developer documentation site, plus a submit_feedback tool for reporting documentation problems. Verified live: an unauthenticated initialize handshake returned serverInfo Documentation - Discord 1.0.0 with tools and resources capabilities. It cannot read or post in Discord servers.](/mcp-servers/discord-dev-docs/)[### Microsoft Learn MCP Server ↗ Connects to Microsoft's hosted Microsoft Learn MCP endpoint, which searches and fetches Microsoft documentation and code samples without an API key.](/mcp-servers/microsoft-learn-mcp/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Inspect resource evidence](/tools/)
- [Choose a host](/agents/)
- [Inspect reusable workflows](/skills/)
- [Use Undominated data](/api/)
