
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An unofficial Model Context Protocol server that lets LLMs build, analyze, optimize, and execute quantum circuits using Qiskit.
Qiskit MCP Server is cataloged as an MCP server attributed to barvhaim. An unofficial Model Context Protocol server that lets LLMs build, analyze, optimize, and execute quantum circuits using Qiskit. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Qiskit MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports basic gates H, X, Y, Z, CX, and measurement, plus advanced rotation gates (rx, ry, rz, rxx, ryy, rzz), the universal u gate, Clifford gates (s, sdg, t, tdg), and SWAP.
Circuits are executed on the BasicSimulator with a configurable number of measurement shots, defaulting to 1000.
README.md · 9f39d6269ed6 · Fetched 2026-11-13 11:56:30 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Unofficial Model Context Protocol (MCP) server that enables LLMs to build and execute quantum circuits using Qiskit.
The server provides 13 MCP tools for comprehensive quantum circuit operations:
create_quantum_circuitCreate a new quantum circuit with specified qubits and classical bits.
Parameters:
num_qubits (int): Number of quantum bitsnum_classical_bits (int, optional): Number of classical bits (defaults to num_qubits)name (string, optional): Custom name for the circuit (auto-generated if not provided)add_gatesAdd quantum gates to an existing circuit.
Parameters:
circuit_name (string): Name of the circuit to modifygates (array): List of gate operationsSupported gates:
h: Hadamard gate - {'type': 'h', 'qubits': [0]}x: Pauli-X gate - {'type': 'x', 'qubits': [0]}y: Pauli-Y gate - {'type': 'y', 'qubits': [0]}z: Pauli-Z gate - {'type': 'z', 'qubits': [0]}cx: CNOT gate - {'type': 'cx', 'qubits': [0, 1]}measure: Measure specific qubit - {'type': 'measure', 'qubits': [0], 'classical_bit': 0}measure_all: Measure all qubits - {'type': 'measure_all'}run_circuitExecute a quantum circuit on the BasicSimulator.
Parameters:
circuit_name (string): Name of the circuit to runshots (int, optional): Number of measurement shots (default: 1000)Returns: JSON with measurement results and counts
get_circuit_infoGet detailed information about a circuit.
Parameters:
circuit_name (string): Name of the circuitReturns: JSON with circuit properties (qubits, depth, gate counts, etc.)
visualize_circuitGet a text visualization of the quantum circuit.
Parameters:
circuit_name (string): Name of the circuitReturns: ASCII art representation of the circuit
visualize_circuit_mermaidGenerate a Mermaid flowchart diagram of the quantum circuit.
Parameters:
circuit_name (string): Name of the circuit to visualizeReturns: Mermaid flowchart syntax representing the quantum circuit
list_circuitsList all created circuits with basic information.
Returns: JSON with all circuit names and their properties
analyze_statevectorAnalyze the quantum state vector of a circuit.
Parameters:
circuit_name (string): Name of the circuit to analyzeReturns: JSON with probabilities, amplitudes, and state analysis
compute_density_matrixCompute and analyze the density matrix including purity and entanglement.
Parameters:
circuit_name (string): Name of the circuit to analyzeReturns: JSON with purity, entropy, and entanglement information
optimize_circuitOptimize a quantum circuit using Qiskit transpiler passes.
Parameters:
circuit_name (string): Name of the circuit to optimizeoptimization_level (int): Optimization level 0-3Returns: JSON with optimization results and performance metrics
add_advanced_gatesAdd advanced quantum gates beyond basic H, X, Y, Z, CX.
Parameters:
circuit_name (string): Name of the circuit to modifygates (array): List of advanced gate operationsSupported advanced gates:
rx, ry, rz, rxx, ryy, rzzus, sdg, t, tdgswap: SWAP gatecreate_variational_circuitCreate a variational quantum circuit for quantum machine learning.
Parameters:
num_qubits (int): Number of qubitsnum_layers (int): Number of layers (default: 1)entanglement (string): Entanglement pattern ('full', 'linear', 'circular')name (string, optional): Custom name for the circuitReturns: Success message with circuit details and parameter count
implement_qftImplement Quantum Fourier Transform circuit.
Parameters:
num_qubits (int): Number of qubits for QFTinverse (bool): Whether to implement inverse QFT (default: false)name (string, optional): Custom name for the circuitReturns: Success message with QFT circuit details
We provide extensive examples and prompts to help you get started:
Create a 2-qubit quantum circuit and make a Bell state by applying H to qubit 0 and CNOT from 0 to 1, then measure both qubits and run with 1000 shots.
I have a Bell state circuit. Analyze its statevector to show the probabilities, then compute the density matrix to verify it's entangled with purity=1.0.
Create a circuit with redundant gates (X followed by X), then optimize it at level 2 and show me the improvement metrics.
Create a variational quantum circuit with 4 qubits, 2 layers, and full entanglement for quantum machine learning. Show me how many parameters it has.
# Install dependencies
uv sync
# Start the MCP server
uv run python main.py
Add this configuration to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"qiskit-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/path/to/qiskit-mcp-server",
"run",
"main.py"
]
}
}
}
Replace /path/to/qiskit-mcp-server with the actual path to this project directory.
After adding the configuration, restart Claude Desktop. You can then ask Claude to:
# Test basic functionality
uv run python examples/test_scripts/test_basic_operations.py
# Test advanced features
uv run python examples/test_scripts/test_advanced_operations.py
# Test quantum algorithms
uv run python examples/test_scripts/test_quantum_algorithms.py
uv run python test_direct.py # If available
The server enables LLMs to interactively build quantum circuits by describing the desired quantum operations in natural language, which get translated into specific gate sequences, analyzed for quantum properties, optimized for performance, and executed on quantum simulators with comprehensive results analysis.
qiskit-mcp-server/
├── main.py # MCP server with 13 quantum tools
├── pyproject.toml # Dependencies and project config
├── examples/ # Comprehensive examples and documentation
│ ├── README.md # Learning guide and examples overview
│ ├── test_scripts/ # Test cases and demonstrations
│ │ ├── test_basic_operations.py # Core tools testing
│ │ ├── test_advanced_operations.py # Advanced features testing
│ │ └── test_quantum_algorithms.py # Algorithm implementations
│ └── prompts/ # 130+ ready-to-use prompt examples
│ ├── basic_circuit_operations.md # Beginner prompts
│ ├── advanced_circuit_operations.md # State analysis prompts
│ ├── quantum_algorithms.md # Algorithm prompts
│ └── educational_examples.md # Learning prompts
└── README.md # This file
Contributions are welcome! Areas for expansion:
This project is open source. See license file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Qiskit MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/qiskit-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.