Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
MCP server for querying and retrieving Qiskit documentation, guides, and API references
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
QISKIT_DOCS_BASE, QISKIT_HTTP_TIMEOUT你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"qiskit-docs": {
"command": "uvx",
"args": [
"qiskit-docs-mcp-server"
],
"env": {
"QISKIT_DOCS_BASE": "your-value",
"QISKIT_HTTP_TIMEOUT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add qiskit-docs --env QISKIT_DOCS_BASE=your-value --env QISKIT_HTTP_TIMEOUT=your-value -- uvx qiskit-docs-mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"qiskit-docs": {
"command": "uvx",
"args": [
"qiskit-docs-mcp-server"
],
"env": {
"QISKIT_DOCS_BASE": "your-value",
"QISKIT_HTTP_TIMEOUT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"qiskit-docs": {
"type": "stdio",
"command": "uvx",
"args": [
"qiskit-docs-mcp-server"
],
"env": {
"QISKIT_DOCS_BASE": "your-value",
"QISKIT_HTTP_TIMEOUT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
QISKIT_DOCS_BASE envQISKIT_HTTP_TIMEOUT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 Qiskit 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, dotnet-mcp
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
MCP server for .NET symbols, XAML, source generators, and restricted workspace edit
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MCP server for querying and retrieving Qiskit documentation, guides, and API references.
The Qiskit Documentation MCP Server provides AI assistants and agents with seamless access to the complete Qiskit documentation ecosystem. It enables intelligent retrieval of SDK module documentation, implementation guides, and best practices through a standardized Model Context Protocol interface.
The server implements three tools for documentation access:
| Tool | Description | Parameters |
|---|
| search_docs_tool | Search the Qiskit documentation; returns short query-centered snippets by default so the response stays compact for repeated agent use | query: Search query string scope: Search scope filter — all (default), documentation, api, learning, tutorials top_k: Max results to return (default: 5, capped at 10) detail: snippet (default, short excerpt per result) or full (full page body — prefer get_page_tool for a single page) | | get_page_tool | Fetch any Qiskit documentation page and return as markdown | url: Full URL or relative path (e.g., guides/transpile, api/qiskit/circuit) max_length: Max characters to return (default: 20000, 0 for unlimited) offset: Character offset for pagination (default: 0) | | lookup_error_code_tool | Look up a Qiskit/IBM Quantum error code | code: 4-digit error code (e.g., 1002, 7001, 8004) |
The server provides six resources for listing available documentation. Content lists for modules, addons, guides, tutorials, and API packages are dynamically discovered from the documentation sitemap and cached, with hardcoded fallback values used when the sitemap is unreachable.
| Resource URI | Description |
|---|---|
qiskit-docs://modules | List of all Qiskit SDK modules with URL paths |
qiskit-docs://addons | List of Qiskit addon packages with URL paths |
qiskit-docs://guides | List of implementation guides and best practices |
qiskit-docs://tutorials | List of Qiskit tutorials with URL paths |
qiskit-docs://api-packages | List of API packages (runtime, transpiler, REST APIs, etc.) |
qiskit-docs://error-codes | List of Qiskit error code categories |
| Resource URI | Description |
|---|---|
qiskit-docs://modules/{module_name} | Documentation for a specific SDK module |
qiskit-docs://guides/{guide_name} | A specific implementation guide |
qiskit-docs://addons/{addon_name} | Documentation for a specific addon package |
The easiest way to install is via pip:
pip install qiskit-docs-mcp-server
Or using uvx (recommended):
uvx qiskit-docs-mcp-server
This project uses uv for virtual environments and dependencies management. If you don't have uv installed, check out the instructions in https://docs.astral.sh/uv/getting-started/installation/
git clone https://github.com/Qiskit/mcp-servers.git
cd mcp-servers/qiskit-docs-mcp-server
# This will create a virtual environment and install dependencies
uv sync
The server can be configured using environment variables:
| Variable | Description | Default |
|---|---|---|
QISKIT_DOCS_BASE | Base URL for Qiskit documentation | https://quantum.cloud.ibm.com/docs/ |
QISKIT_HTTP_TIMEOUT | HTTP request timeout in seconds | 10.0 |
QISKIT_DOCS_CACHE_TTL | Page cache TTL in seconds | 3600.0 |
QISKIT_SEARCH_CACHE_TTL | Search/JSON cache TTL in seconds | 300.0 |
QISKIT_SEARCH_BASE_URL | Search API base URL | https://quantum.cloud.ibm.com/ |
Create a .env file in the project directory:
# Optional: Customize documentation URLs
QISKIT_DOCS_BASE=https://quantum.cloud.ibm.com/docs/ QISKIT_HTTP_TIMEOUT=15.0 QISKIT_DOCS_CACHE_TTL=3600.0 QISKIT_SEARCH_CACHE_TTL=300.0
uv run qiskit-docs-mcp-server
The server will start and listen for MCP connections.
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": { "qiskit-docs": { "command": "uvx", "args": ["qiskit-docs-mcp-server"] } } }
Add to your Cline MCP settings:
{
"mcpServers": { "qiskit-docs": { "command": "uvx", "args": ["qiskit-docs-mcp-server"] } } }
Note: To run LangChain examples you will need to install the dependencies:
`bash
pip install langchain-mcp-adapters langchain-openai langgraph
`
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient from langchain_openai import ChatOpenAI from langgraph.prebuilt import create_react_agent
async def main():
async with MultiServerMCPClient( { "qiskit-docs": { "command": "qiskit-docs-mcp-server", "args": [], "transport": "stdio", } } ) as client:
agent = create_react_agent( ChatOpenAI(model="gpt-4o"), client.get_tools(), )
response = await agent.ainvoke( {"messages": [("user", "How do I create a quantum circuit in Qiskit?")]} ) print(response"messages".content)
asyncio.run(main())
# Search returns short snippets (not full pages) — cheap to call inside an agent
result = await search_docs_tool("transpiler optimization") print(f"Showing {result['returned_results']} of {result['total_results']} matches") for item in result["results"]: print(f"- {item['title']}: {item['url']}") print(f" {item['snippet']}")
page = await get_page_tool(result"results"["url"]) print(page["documentation"])
Note (behavior change):
search_docs_toolnow returns short, query-centered
snippets by default and caps results to
top_k(default 5). In default
(
detail="snippet") mode each result carries asnippetfield — not the full
textbody — and is limited to `id, url, title, pageTitle, module, section,
snippet
. For the original behavior, passdetail="full"`: it restores each
result's full
textbody and all upstream fields and returns every match
by default (no
top_kcap) — an explicittop_kstill limits the count in
full mode but is not clamped to the snippet-mode ceiling. Prefer
get_page_tool
for a single page's full content.
total_resultsis the grand total of matches;
returned_resultsis the count actually returned (equal tototal_resultsin
full mode unless you set an explicit
top_k).
# Fetch circuit module API reference
result = await get_page_tool("api/qiskit/circuit") print(result["documentation"])
result = await get_page_tool("api/qiskit/circuit", max_length=5000) if result["has_more"]: next_page = await get_page_tool("api/qiskit/circuit", offset=result["next_offset"])
# Look up error code 1002
result = await lookup_error_code_tool("1002") print(result["details"])
| Module | Description |
|---|---|
circuit | Quantum circuit construction and manipulation |
quantum_info | Quantum information theory utilities |
transpiler | Circuit transpilation and optimization |
synthesis | Circuit synthesis algorithms |
dagcircuit | DAG representation of quantum circuits |
passmanager | Transpiler pass manager framework |
converters | Circuit format converters |
compiler | High-level compilation routines |
primitives | Sampler and Estimator primitives |
providers | Backend providers and job management |
result | Job result handling and analysis |
visualization | Circuit and result visualization |
qasm2 | OpenQASM 2.0 support |
qasm3 | OpenQASM 3.0 support |
qpy | Qiskit Python serialization format |
utils | General utility functions |
exceptions | Qiskit exception classes |
| Guide | Description |
|---|---|
quick-start | Get started with Qiskit |
construct-circuits | Build and manipulate quantum circuits |
transpile | Transpile circuits for target backends |
transpiler-stages | Understand transpiler pipeline stages |
configure-error-mitigation | Configure error mitigation for primitives |
configure-error-suppression | Configure error suppression techniques |
primitives | Use Sampler and Estimator primitives |
execution-modes | Job, session, and batch execution modes |
dynamic-circuits | Mid-circuit measurements and classical control |
functions | Overview of Qiskit Functions |
See the
qiskit-docs://guidesresource for the complete list of 30+ available guides.
Large documentation pages are automatically paginated. Use max_length and offset to control content retrieval:
# Fetch first 5000 characters
result = await get_page_tool("api/qiskit/circuit", max_length=5000)
result = await get_page_tool("api/qiskit/circuit", max_length=0)
All responses include rich metadata:
{
"status": "success", "url": "https://quantum.cloud.ibm.com/docs/api/qiskit/circuit", "documentation": "
只显示了开头部分;其余内容请在仓库中阅读