context7-mcp

Level BLocal

一种模型上下文协议服务器,它从库中直接获取最新、特定版本的文档和代码示例并将其引入LLM提示中,帮助开发人员在无需过时或虚构信息的情况下获得准确的答案。

⭐ 165Development Toolszh_CNRepo ↗Updated 2026-11-01

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "ms-github-upstash-context7-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp@latest"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/upstash/context7-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "ms-github-upstash-context7-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp@latest"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers