AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified Apache-2.0 Self-run

Mcp Servers

mcp-qiskit-mcp-servers · by Qiskit

A collection of MCP servers to allow LLMs to use the qiskit,qiskit-ibm-runtime library, qiskit-ibm-transpiler, qiskit-code-assistant service library and others

— No reviews yet
0 installs
35 views
0.0% view→install

Install

$ agentstack add mcp-qiskit-mcp-servers

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.2.1 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.2.1. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-qiskit-mcp-servers)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mcp Servers? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Qiskit MCP Servers

[](https://github.com/Qiskit/mcp-servers/actions/workflows/test.yml) [](https://opensource.org/licenses/Apache-2.0) [](https://www.python.org/downloads/) [](https://github.com/astral-sh/ruff) [](http://mypy-lang.org/)

[](https://registry.modelcontextprotocol.io/?q=io.github.Qiskit%2Fqiskit-mcp-server) [](https://registry.modelcontextprotocol.io/?q=io.github.Qiskit%2Fqiskit-ibm-runtime-mcp-server) [](https://registry.modelcontextprotocol.io/?q=io.github.Qiskit%2Fqiskit-ibm-transpiler-mcp-server) [](https://registry.modelcontextprotocol.io/?q=io.github.Qiskit%2Fqiskit-docs-mcp-server) [](https://registry.modelcontextprotocol.io/?q=io.github.Qiskit%2Fqiskit-gym-mcp-server)

A collection of Model Context Protocol (MCP) servers that give AI assistants, LLMs, and agents seamless access to IBM Quantum services and Qiskit libraries. Generate quantum code, connect to real hardware, analyze backends, execute circuits, and search Qiskit documentation — all through a standardized protocol that works with any MCP-compatible client.

Quick Start

Prerequisites

  • Python 3.10+ (3.11+ recommended)
  • IBM Quantum account and API token (only required for IBM cloud servers: Runtime, Transpiler)

Install from PyPI

# Install all servers (core + community)
pip install "qiskit-mcp-servers[all]"

# Install core servers only (default, excludes community)
pip install qiskit-mcp-servers

Install individual servers

pip install "qiskit-mcp-servers[qiskit]"          # Qiskit server only
pip install "qiskit-mcp-servers[runtime]"         # IBM Runtime server only
pip install "qiskit-mcp-servers[transpiler]"      # IBM Transpiler server only
pip install "qiskit-mcp-servers[docs]"            # Documentation server only
pip install "qiskit-mcp-servers[gym]"             # Qiskit Gym server only (community)

Install from Source

Each server runs independently — the directory name and command are the same:

cd qiskit-mcp-server  # or any server directory
pip install -e .
qiskit-mcp-server

Configuration

Servers that connect to IBM Quantum cloud services require a QISKIT_IBM_TOKEN environment variable. See each server's README for the full list of environment variables and configuration options.

export QISKIT_IBM_TOKEN="your_ibm_quantum_token_here"

Client Setup

All servers are compatible with any MCP client. Pick your client below.

Claude Code

[](https://github.com/user-attachments/assets/161797b0-59d9-4632-bafa-12d50bfef226)

# No auth required
claude mcp add qiskit -- uvx qiskit-mcp-server
claude mcp add qiskit-docs -- uvx qiskit-docs-mcp-server
claude mcp add qiskit-gym -- uvx qiskit-gym-mcp-server

# Require QISKIT_IBM_TOKEN (https://quantum.ibm.com)
claude mcp add qiskit-ibm-runtime -e QISKIT_IBM_TOKEN=$QISKIT_IBM_TOKEN -- uvx qiskit-ibm-runtime-mcp-server
claude mcp add qiskit-ibm-transpiler -e QISKIT_IBM_TOKEN=$QISKIT_IBM_TOKEN -- uvx qiskit-ibm-transpiler-mcp-server
IBM Bob

[](https://github.com/user-attachments/assets/b1e9cfc4-c729-4050-9998-815f6b63bacd)

Add to your ~/.bob/settings/mcp_settings.json:

{
    "mcpServers": {
        "qiskit": {
            "command": "uvx",
            "args": ["qiskit-mcp-server"],
            "alwaysAllow": [],
            "disabled": false
        },
        "qiskit-docs": {
            "command": "uvx",
            "args": ["qiskit-docs-mcp-server"],
            "alwaysAllow": [],
            "disabled": false
        },
        "qiskit-gym": {
            "command": "uvx",
            "args": ["qiskit-gym-mcp-server"],
            "alwaysAllow": [],
            "disabled": false
        },
        "qiskit-ibm-runtime": {
            "command": "uvx",
            "args": ["qiskit-ibm-runtime-mcp-server"],
            "env": {
                "QISKIT_IBM_TOKEN": "",
                "QISKIT_IBM_RUNTIME_MCP_INSTANCE": ""
            },
            "alwaysAllow": [],
            "disabled": false
        },
        "qiskit-ibm-transpiler": {
            "command": "uvx",
            "args": ["qiskit-ibm-transpiler-mcp-server"],
            "env": {
                "QISKIT_IBM_TOKEN": ""
            },
            "alwaysAllow": [],
            "disabled": false
        }
    }
}

Claude Desktop / Cline

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "qiskit": {
      "command": "uvx",
      "args": ["qiskit-mcp-server"]
    },
    "qiskit-docs": {
      "command": "uvx",
      "args": ["qiskit-docs-mcp-server"]
    },
    "qiskit-gym": {
      "command": "uvx",
      "args": ["qiskit-gym-mcp-server"]
    },
    "qiskit-ibm-runtime": {
      "command": "uvx",
      "args": ["qiskit-ibm-runtime-mcp-server"],
      "env": {
        "QISKIT_IBM_TOKEN": "your_ibm_quantum_token_here"
      }
    },
    "qiskit-ibm-transpiler": {
      "command": "uvx",
      "args": ["qiskit-ibm-transpiler-mcp-server"],
      "env": {
        "QISKIT_IBM_TOKEN": "your_ibm_quantum_token_here"
      }
    }
  }
}

MCP Inspector (interactive testing)

npx @modelcontextprotocol/inspector uvx qiskit-mcp-server
npx @modelcontextprotocol/inspector uvx qiskit-docs-mcp-server
npx @modelcontextprotocol/inspector uvx qiskit-ibm-runtime-mcp-server
# etc.

Available Servers

Core Servers

| Server | Description | Directory | |--------|-------------|-----------| | Qiskit MCP Server | Circuit creation, transpilation, and serialization (QASM3, QPY) using Qiskit | [qiskit-mcp-server/](./qiskit-mcp-server/) | | Qiskit IBM Runtime | Full access to IBM Quantum hardware via Qiskit IBM Runtime | [qiskit-ibm-runtime-mcp-server/](./qiskit-ibm-runtime-mcp-server/) | | Qiskit IBM Transpiler | AI-optimized circuit routing and optimization via qiskit-ibm-transpiler | [qiskit-ibm-transpiler-mcp-server/](./qiskit-ibm-transpiler-mcp-server/) | | Qiskit Docs | Search and retrieve Qiskit documentation, guides, and API references. No auth required. | [qiskit-docs-mcp-server/](./qiskit-docs-mcp-server/) |

Community Servers

| Server | Description | Directory | |--------|-------------|-----------| | Qiskit Gym | RL-based quantum circuit synthesis using qiskit-gym (permutation routing, linear functions, Clifford circuits) | [qiskit-gym-mcp-server/](./qiskit-gym-mcp-server/) |

Removed Servers

  • Qiskit Code Assistant MCP Server — previously published as qiskit-code-assistant-mcp-server. Removed because the underlying Qiskit Code Assistant service has been discontinued by IBM Quantum. See the sunset announcement. The PyPI package is archived and no longer maintained.

Examples

Each server includes an examples/ directory with a Jupyter notebook (langchain_agent.ipynb) and a Python script (langchain_agent.py) showing how to build AI agents with LangChain.

The root [examples/](./examples/) directory contains a multi-agent Quantum Volume Finder that orchestrates multiple MCP servers to find the highest achievable Quantum Volume on IBM Quantum hardware. See the [examples README](./examples/README.md) for details.

Architecture

All servers are built on FastMCP and share a consistent structure:

  • Async-first — all tool and resource handlers are async, using FastMCP's native async support
  • Standalone packages — each server is an independent PyPI package with its own pyproject.toml, tests, and CI
  • MCP Registry — every server ships a server.json manifest for automatic discovery
  • Unified meta-package — qiskit-mcp-servers installs any combination via pip extras
  • Full MCP protocol — tools (quantum operations), resources (backend info, service status), and stdio transport

Development

Running Tests

cd qiskit-mcp-server  # or any server directory
./run_tests.sh

Code Quality

  • Linting: ruff check and ruff format
  • Type checking: mypy src/
  • Testing: pytest with async support and coverage reporting
  • CI/CD: GitHub Actions for automated testing

Resources

Contributing

Contributions are welcome! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) guide for details.

License

This project is licensed under the Apache License 2.0.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.2.1 Imported from the upstream source.