MCP.so
登录

Context7 MCP Server (

@quiint

关于 Context7 MCP Server (

An unofficial MCP server for Context7 by Upstash.

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

quiint

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "c7-mcp-server": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "c7-mcp-server"
      ]
    }
  }
}

工具

3

** Query the Context7 API for information on a specific topic within a project.

** Search for available Context7 projects by keyword.

** Display metadata about a specific Context7 project.

概览

What is Context7 MCP Server?

Context7 MCP Server is a Model Context Protocol server that bridges MCP-compatible clients (like Claude Desktop, IDE plugins, custom applications) with the Context7 API. It enables querying documentation context, searching for projects, and retrieving project metadata—all data comes directly from the official Context7 API.

How to use Context7 MCP Server?

Install globally via npm (npm install -g c7-mcp-server) or from source. The server is launched by an MCP client (e.g., Claude Desktop) via the c7-mcp-server command using stdio transport. Add an entry to the client’s configuration file under mcpServers with the command c7-mcp-server and no arguments.

Key features of Context7 MCP Server

  • Exposes tools: c7_query, c7_search, c7_info
  • Exposes resource: c7_projects_list via URI context7://projects/list
  • Queries Context7 API for documentation context on topics
  • Searches available Context7 projects by keyword
  • Retrieves project metadata (source repo, last update, etc.)
  • Supports optional output format (txt/json) and token limits

Use cases of Context7 MCP Server

  • Ask an AI assistant to retrieve documentation context for a specific project (e.g., Next.js)
  • Search for available projects by keyword to find relevant documentation
  • Get metadata about a project before querying it
  • Integrate Context7 documentation into custom MCP-compatible applications

FAQ from Context7 MCP Server

What does Context7 MCP Server do vs using the Context7 API directly?

It provides an MCP interface to the Context7 API, enabling MCP-compatible clients to interact with the API without custom integrations.

What are the runtime requirements?

Node.js 18+ and npm (or Bun) are required. The server is installed globally and runs as a command-line process.

Where does the data come from?

All data is provided directly from the official Context7 API (https://context7.com). The server does not generate or host content itself.

How is the server transported and authenticated?

The server uses stdio transport (MCP protocol). No authentication is mentioned; it relies on the Context7 API’s access (likely public).

评论

其他 分类下的更多 MCP 服务器