Qiskit IBM Runtime MCP Server MCP Server
io.github.Qiskit/qiskit-ibm-runtime-mcp-server
Execute quantum circuits on IBM Quantum hardware through Qiskit IBM Runtime.
What is the Qiskit IBM Runtime MCP Server MCP server?
The Qiskit IBM Runtime MCP Server provides AI assistants with full access to IBM Quantum hardware via the Qiskit IBM Runtime library. It enables execution of quantum circuits on real quantum processors, backend analysis, and job management through a standardized MCP interface.
This server connects Claude, Cursor, and other MCP-compatible AI clients to IBM Quantum computing services. You can submit quantum circuits for execution on real hardware, query backend properties and availability, monitor job status, and retrieve results—all through natural language or programmatic MCP tool calls.
How to install Qiskit IBM Runtime MCP Server
Copy-paste configuration for popular MCP clients.
QISKIT_IBM_TOKENrequiredsecretYour IBM Quantum API token for authentication
QISKIT_IBM_RUNTIME_MCP_INSTANCEIBM Quantum instance CRN for faster startup (skips instance lookup)
Tools & capabilities
Tools this server exposes to the agent.
Execute quantum circuits— Submit and run quantum circuits on IBM Quantum hardware backendsQuery backend information— Retrieve properties, capabilities, and status of available quantum processorsManage quantum jobs— Monitor, retrieve, and manage quantum job execution and results
Use cases
- Run quantum algorithms on real IBM Quantum processors
- Query available quantum backends and their specifications
- Monitor and retrieve results from submitted quantum jobs
- Build AI agents that orchestrate quantum experiments across multiple backends
- Integrate quantum computing into AI-assisted research workflows
Qiskit IBM Runtime MCP Server MCP server FAQ
It's an MCP server that gives AI assistants access to IBM Quantum hardware through Qiskit IBM Runtime, enabling circuit execution, backend queries, and job management.
The server itself is free and open-source (Apache 2.0), but executing circuits on IBM Quantum hardware requires an IBM Quantum account and may incur usage costs depending on your plan.
Run: claude mcp add qiskit-ibm-runtime -e QISKIT_IBM_TOKEN=$QISKIT_IBM_TOKEN -- uvx qiskit-ibm-runtime-mcp-server
Add the server to your claude_desktop_config.json with the qiskit-ibm-runtime-mcp-server command and set the QISKIT_IBM_TOKEN environment variable.
You need a QISKIT_IBM_TOKEN from your IBM Quantum account (https://quantum.ibm.com). Optionally, you can specify a QISKIT_IBM_RUNTIME_MCP_INSTANCE for a specific quantum instance.
Python 3.10 or higher (3.11+ recommended). Install via: pip install qiskit-ibm-runtime-mcp-server
README (reference)
Source of truth, from the repository.
Qiskit MCP Servers
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
<details>
<summary>Install individual servers</summary>
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)
</details>
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
# 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
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": "<your IBM Quantum token>",
"QISKIT_IBM_RUNTIME_MCP_INSTANCE": "<Optional: Your IBM Quantum instance CRN>"
},
"alwaysAllow": [],
"disabled": false
},
"qiskit-ibm-transpiler": {
"command": "uvx",
"args": ["qiskit-ibm-transpiler-mcp-server"],
"env": {
"QISKIT_IBM_TOKEN": "<your IBM Quantum token>"
},
"alwaysAllow": [],
"disabled": false
}
}
}
<details>
<summary>Claude Desktop / Cline</summary>
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"
}
}
}
}
</details>
<details>
<summary>MCP Inspector (interactive testing)</summary>
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.
</details>
Available Servers
Core Servers
| Server | Description | Directory |
|---|---|---|
| Qiskit MCP Server | Circuit creation, transpilation, and serialization (QASM3, QPY) using Qiskit | qiskit-mcp-server/ |
| Qiskit IBM Runtime | Full access to IBM Quantum hardware via Qiskit IBM Runtime | qiskit-ibm-runtime-mcp-server/ |
| Qiskit IBM Transpiler | AI-optimized circuit routing and optimization via qiskit-ibm-transpiler | qiskit-ibm-transpiler-mcp-server/ |
| Qiskit Docs | Search and retrieve Qiskit documentation, guides, and API references. No auth required. | 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/ |
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/ 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 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.jsonmanifest for automatic discovery - Unified meta-package —
qiskit-mcp-serversinstalls 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 checkandruff format - Type checking:
mypy src/ - Testing:
pytestwith async support and coverage reporting - CI/CD: GitHub Actions for automated testing
Resources
- Model Context Protocol — understanding MCP
- Qiskit IBM Runtime docs — quantum cloud services
- MCP Inspector — interactive testing tool
- FastMCP — high-performance MCP framework
- AGENTS.md — guidance for AI coding assistants (IBM Bob, Claude Code, Copilot, Cursor, and others)
Contributing
Contributions are welcome! Please see the CONTRIBUTING.md guide for details.
License
This project is licensed under the Apache License 2.0.
Related MCP servers

AI-optimized quantum circuit transpilation and routing via IBM Quantum services

Qiskit MCP Server
Build and execute quantum circuits with Qiskit through Claude and other AI assistants.

AI-powered quantum code completion for Qiskit — now discontinued.

Search and retrieve Qiskit documentation, guides, and API references with no authentication required.

Interminal
Lightweight MCP server providing terminal access (SSH & local shells) for AI assistants.
