# Qiskit Documentation MCP Server

MCP server that gives your agent direct access to Qiskit SDK documentation, implementation guides, and API reference. No tokens required, updates automatically.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 41
- Author: Qiskit
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Qiskit/mcp-servers/tree/HEAD/qiskit-docs-mcp-server
- Updated: 2026-10-08
- HTML: https://affpapa.org/en/nevibecode/mcp/qiskit-documentation-mcp-server

## What it does

The server exposes three tools: documentation search with scope filters, full page retrieval by URL or path, and error code lookup. Lists of modules, addons, guides, and API packages are pulled from the live sitemap and cached.

Requires Python 3.10+ and the `uv` package manager. Page and search cache duration is controlled via `QISKIT_DOCS_CACHE_TTL` and `QISKIT_SEARCH_CACHE_TTL` environment variables.

Returns documentation in Markdown. Content is fetched over HTTP from `quantum.cloud.ibm.com`, with a 10-second default timeout.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `QISKIT_DOCS_BASE`, `QISKIT_HTTP_TIMEOUT` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env QISKIT_DOCS_BASE=<QISKIT_DOCS_BASE> --env QISKIT_HTTP_TIMEOUT=<QISKIT_HTTP_TIMEOUT> --transport stdio qiskit-docs-mcp-server -- uvx qiskit-docs-mcp-server
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from qiskit-docs-mcp-server <command>

### Codex

**Platform CLI**
```bash
codex mcp add qiskit-docs-mcp-server --env QISKIT_DOCS_BASE=<QISKIT_DOCS_BASE> --env QISKIT_HTTP_TIMEOUT=<QISKIT_HTTP_TIMEOUT> -- uvx qiskit-docs-mcp-server
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from qiskit-docs-mcp-server <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "qiskit-docs-mcp-server": {
            "command": "uvx",
            "args": [
                "qiskit-docs-mcp-server"
            ],
            "env": {
                "QISKIT_DOCS_BASE": "<QISKIT_DOCS_BASE>",
                "QISKIT_HTTP_TIMEOUT": "<QISKIT_HTTP_TIMEOUT>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from qiskit-docs-mcp-server <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "qiskit-docs-mcp-server": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "qiskit-docs-mcp-server"
            ],
            "env": {
                "QISKIT_DOCS_BASE": "<QISKIT_DOCS_BASE>",
                "QISKIT_HTTP_TIMEOUT": "<QISKIT_HTTP_TIMEOUT>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from qiskit-docs-mcp-server <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e QISKIT_DOCS_BASE=<QISKIT_DOCS_BASE> -e QISKIT_HTTP_TIMEOUT=<QISKIT_HTTP_TIMEOUT> qiskit-docs-mcp-server uvx qiskit-docs-mcp-server
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from qiskit-docs-mcp-server <command>

## When to use it
- retrieve Qiskit module API reference in-context
- find guides on circuit optimization or error mitigation
- decode an IBM Quantum error code
- check syntax for a Qiskit SDK method or class
- load the full list of tutorials and guides

## Example prompts
- Find documentation on dynamic circuits in Qiskit
- Show API reference for `qiskit.circuit` module
- What does error code 7001 mean in Qiskit?

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [labelhead-artist-momentum](https://affpapa.org/en/nevibecode/mcp/labelhead-artist-momentum.md) — MCP server · ★ 107423
- [Agent Skills Search Server](https://affpapa.org/en/nevibecode/mcp/agent-skills-search-server.md) — MCP server · ★ 26559
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23263
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [PraisonAI](https://affpapa.org/en/nevibecode/mcp/praisonai.md) — MCP server · ★ 9289

From the same set: [qiskit/mcp-servers](https://affpapa.org/en/nevibecode/by/qiskit/mcp-servers.md) — 5 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
