Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search the Couchbase documentation from your MCP client via a hosted documentation agent.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
CB_MCP_TRANSPORT, CB_MCP_HOST, CB_MCP_PORT, CB_AGENT_BASE_URL, CB_AGENT_IP_SALT标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"couchbase-guru": {
"command": "uvx",
"args": [
"couchbase-guru"
],
"env": {
"CB_MCP_TRANSPORT": "your-value",
"CB_MCP_HOST": "your-value",
"CB_MCP_PORT": "your-value",
"CB_AGENT_BASE_URL": "your-value",
"CB_AGENT_IP_SALT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add couchbase-guru --env CB_MCP_TRANSPORT=your-value --env CB_MCP_HOST=your-value --env CB_MCP_PORT=your-value --env CB_AGENT_BASE_URL=your-value --env CB_AGENT_IP_SALT=your-value -- uvx couchbase-guru运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"couchbase-guru": {
"command": "uvx",
"args": [
"couchbase-guru"
],
"env": {
"CB_MCP_TRANSPORT": "your-value",
"CB_MCP_HOST": "your-value",
"CB_MCP_PORT": "your-value",
"CB_AGENT_BASE_URL": "your-value",
"CB_AGENT_IP_SALT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"couchbase-guru": {
"type": "stdio",
"command": "uvx",
"args": [
"couchbase-guru"
],
"env": {
"CB_MCP_TRANSPORT": "your-value",
"CB_MCP_HOST": "your-value",
"CB_MCP_PORT": "your-value",
"CB_AGENT_BASE_URL": "your-value",
"CB_AGENT_IP_SALT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
CB_MCP_TRANSPORT envCB_MCP_HOST envCB_MCP_PORT envCB_AGENT_BASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Couchbase-Ecosystem 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:CB_AGENT_IP_SALT
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), Docker。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that lets LLMs search the Couchbase documentation from your MCP client. It exposes a single tool, ask_couchbase_docs, which forwards your question to a hosted retrieval-augmented (RAG) documentation agent and returns an answer with source links.
No Couchbase cluster or credentials required. The server talks only to the documentation agent backend, not to your data.
| Tool Name | Description |
|---|---|
ask_couchbase_docs | Answer a question about any Couchbase product, feature, SDK, service, tutorial, or example by searching the official documentation. Returns a natural-language answer followed by the documentation source URLs. |
Ask complete, self-contained questions — the backend has no conversation history, so include the product, version, and language where relevant (e.g. _"How do I create a primary index with the Python SDK in Couchbase Server 7.6?"_).
The server can be run from the prebuilt PyPI package or from source with uv. It works with zero configuration — the public documentation agent is used by default.
{
"mcpServers": { "couchbase-guru": { "command": "uvx", "args": ["couchbase-guru"] } } }
If you already have other MCP servers configured, add this entry to the existing
mcpServersobject.
Clone the repository:
git clone https://github.com/Couchbase-Ecosystem/couchbase-guru.git
Then point your MCP client at it:
{
"mcpServers": { "couchbase-guru": { "command": "uv", "args": [ "--directory", "path/to/cloned/repo/couchbase-guru/", "run", "src/mcp_server.py" ] } } }
path/to/cloned/repo/couchbase-guru/should be the path to the cloned repository on your machine. Don't forget the trailing slash.
All options are optional and can be set via CLI argument or environment variable:
| CLI Argument | Environment Variable | Description | Default |
|---|---|---|---|
--transport | CB_MCP_TRANSPORT | Transport mode: stdio or http | stdio |
--host | CB_MCP_HOST | Host for HTTP transport mode | 127.0.0.1 |
--port | CB_MCP_PORT | Port for HTTP transport mode | 8000 |
--agent-base-url | CB_AGENT_BASE_URL | Base URL of the documentation agent backend. Set this to run against your own self-hosted agent; if unset, the public agent is used. | Public agent |
--agent-ip-salt | CB_AGENT_IP_SALT | Secret salt used to pseudonymize client IPs (HTTP transport). Set a shared value for consistent hashing across multiple instances; a local salt is generated when unset. | Auto-generated |
Check the installed version with:
uvx couchbase-guru --version
By default the server uses a shared, public documentation agent, so most users need no setup. If you run your own agent backend, point the server at it:
uvx couchbase-guru --agent-base-url https://your-agent.example.com
The public agent applies fair-use rate limits. To support this, the server sends a pseudonymous device identifier to the backend (in the User-Agent header):
No question content or personal data is persisted by the MCP server itself. If you prefer not to share a rate-limit signal, self-host the agent (see above).
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonmcpServers section.Logs: ~/Library/Logs/Claude (macOS) or %APPDATA%\Claude\Logs (Windows).
Cursor
Logs: in the bottom panel, click Output and select Cursor MCP from the dropdown.
Windsurf Editor
See the Windsurf MCP documentation for details.
VS Code
.vscode/mcp.json in your workspace (or run MCP: Open User Configuration for a global config).servers as the top-level key (not mcpServers): {
"servers": { "couchbase-guru": { "command": "uvx", "args": ["couchbase-guru"] } } }
Start/Stop/manage the server.See the VS Code MCP docs for details.
JetBrains IDEs
Logs: Help > Show Log in Finder (Explorer) > mcp > couchbase-guru.
The server can run in Streamable HTTP mode so multiple clients can connect to one instance. Check that your MCP client supports this transport first.
uvx couchbase-guru --transport=http --port=8000
The server will be available at http://localhost:8000/mcp:
{
"mcpServers": { "couchbase-guru-http": { "url": "http://localhost:8000/mcp" } } }
This mode does not include authorization support.
Build the image:
docker build -t couchbase-guru .
Run it (stdio by default; no credentials needed):
{
"mcpServers": { "couchbase-guru-docker": { "command": "docker", "args": ["run", "--rm", "-i", "couchbase-guru"] } } }
For HTTP transport, publish the port and set the transport:
docker run --rm -i \
-e CB_MCP_TRANSPORT=http \ -e CB_MCP_HOST=0.0.0.0 \ -e CB_MCP_PORT=8000 \ -p 8000:8000 \ couchbase-guru
uv/uvx is installed and on your PATH. You may need to provide an absolute path to uv/uvx in the command field.--agent-base-url.uv sync to refresh dependencies.Unit tests run offline (the backend is mocked):
uv sync --extra dev
uv run pytest tests/
Integration tests exercise the tool end-to-end against a live agent backend and are opt-in:
CB_MCP_RUN_INTEGRATION=1 uv run pytest tests/test_docs_tools.py
By default they use the public agent; set CB_AGENT_BASE_URL to target a different backend.
Contributions are welcome! To report a bug, request a feature, or contribute improvements, open a GitHub issue.
See CONTRIBUTING.md for developer setup (environment with uv, linting/formatting with Ruff, pre-commit hooks, and project structure).
# Clone and set up
git clone https://github.com/Couchbase-Ecosystem/couchbase-guru.git cd couchbase-guru
uv sync --extra dev
uv run pre-commit install
We appreciate your interest in this project! It is Couchbase community-maintained, which means it is not officially supported by our support team. Our engineers monitor and maintain this repo and will try to resolve issues on a best-effort basis. Please keep all inquiries within GitHub.