World Monitor
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.
MCP server for Qiskit quantum computing with circuit serialization utilities
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server Qiskit MCP Server を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "qiskit": { "command": "uvx", "args": [ "qiskit-mcp-server" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Qiskit MCP Server のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version
一度入れれば、uv を使うすべてのツールで使えます
SettingsDeveloperEdit Config
{
"mcpServers": {
"qiskit": {
"command": "uvx",
"args": [
"qiskit-mcp-server"
]
}
}
}Qiskit MCP Server を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Qiskit MCP Server を使っていると言うか、回答に Qiskit MCP Server のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Qiskit MCP Server につなげません
Qiskit MCP Server はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
A · Qiskit MCP Server につなげるアプリを使う
B · その他 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server Qiskit MCP Server を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user qiskit -- uvx qiskit-mcp-server 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Qiskit MCP Server のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version
一度入れれば、uv を使うすべてのツールで使えます
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --scope user qiskit -- uvx qiskit-mcp-serverQiskit MCP Server が一覧にあり、接続済みと表示されれば OK です
Qiskit MCP Server を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Qiskit MCP Server を使っていると言うか、回答に Qiskit MCP Server のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server Qiskit MCP Server を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "qiskit": { "command": "uvx", "args": [ "qiskit-mcp-server" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Qiskit MCP Server のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version
一度入れれば、uv を使うすべてのツールで使えます
Qiskit MCP Server を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Qiskit MCP Server を使っていると言うか、回答に Qiskit MCP Server のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server Qiskit MCP Server を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "qiskit": { "type": "stdio", "command": "uvx", "args": [ "qiskit-mcp-server" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Qiskit MCP Server のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version
一度入れれば、uv を使うすべてのツールで使えます
Qiskit MCP Server を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Qiskit MCP Server を使っていると言うか、回答に Qiskit MCP Server のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --scope user qiskit -- uvx qiskit-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"qiskit": {
"command": "uvx",
"args": [
"qiskit-mcp-server"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"qiskit": {
"command": "uvx",
"args": [
"qiskit-mcp-server"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"qiskit": {
"type": "stdio",
"command": "uvx",
"args": [
"qiskit-mcp-server"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
pypi: qiskit-mcp-serverこのサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月15日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Qiskit で確認済みです
コードの最終更新:38 日前
Apache-2.0を使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
OSV.dev に qiskit-mcp-server@0.3.2 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は38 日前、最新バージョン(0.3.2)がレジストリに届いたのは38 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
Validate oh-my-posh configurations and segment snippets against the official schema.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
A Model Context Protocol (MCP) server that provides quantum circuit transpilation capabilities using Qiskit's pass managers. This server enables AI assistants to optimize quantum circuits for various hardware targets.
pip install qiskit-mcp-server
# Clone the repository
git clone https://github.com/Qiskit/mcp-servers.git cd mcp-servers/qiskit-mcp-server
uv sync
pip install -e .
# With uv
uv run qiskit-mcp-server
qiskit-mcp-server
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": { "qiskit": { "command": "uv", "args": [ "--directory", "/path/to/qiskit-mcp-servers/qiskit-mcp-server", "run", "qiskit-mcp-server" ] } } }
from qiskit_mcp_server.transpiler import transpile_circuit
qasm = """OPENQASM 2.0; include "qelib1.inc"; qreg q[2]; creg c[2]; h q[0]; cx q[0], q[1]; measure q -> c; """
result = await transpile_circuit(qasm)
result = await transpile_circuit( qasm, optimization_level=3, basis_gates="ibm_heron", coupling_map="linear" )
from qiskit import QuantumCircuit
from qiskit_mcp_server import dump_qpy_circuit from qiskit_mcp_server.transpiler import transpile_circuit
qc = QuantumCircuit(2, 2) qc.h(0) qc.cx(0, 1) qc.measure([0, 1], [0, 1])
qpy_circuit = dump_qpy_circuit(qc)
result = await transpile_circuit(qpy_circuit, circuit_format="qpy")
transpiled_qpy = result"transpiled_circuit"
result2 = await transpile_circuit(transpiled_qpy, circuit_format="qpy", optimization_level=3)
from qiskit_mcp_server.transpiler import transpile_circuit, analyze_circuit
result = transpile_circuit.sync(qasm, optimization_level=2)
analysis = analyze_circuit.sync(qasm) print(f"Circuit depth: {analysis'circuit_info'}") print(f"Two-qubit gates: {analysis'gate_categories'}")
from qiskit_mcp_server.transpiler import compare_optimization_levels
comparison = compare_optimization_levels.sync(qasm)
for level in range(4): result = comparison'optimization_results' print(f"Level {level}: depth={result['depth']}, size={result['size']}")
LangChain Integration Example:
Note: To run LangChain examples you will need to install the dependencies:
`bash
pip install langchain langchain-mcp-adapters langchain-openai python-dotenv
`
import asyncio
import os from langchain.agents import create_agent from langchain_mcp_adapters.client import MultiServerMCPClient from langchain_mcp_adapters.tools import load_mcp_tools from langchain_openai import ChatOpenAI from dotenv import load_dotenv
load_dotenv()
SAMPLE_BELL = """ OPENQASM 3.0; include "stdgates.inc"; qubit[2] q; h q[0]; cx q[0], q[1]; """
async def main():
mcp_client = MultiServerMCPClient({ "qiskit": { "transport": "stdio", "command": "qiskit-mcp-server", "args": [], "env": {}, } })
async with mcp_client.session("qiskit") as session: tools = await load_mcp_tools(session)
llm = ChatOpenAI(model="gpt-5.2", temperature=0) agent = create_agent(llm, tools)
response = await agent.ainvoke(f"Transpile this circuit for IBM Heron: {SAMPLE_BELL}") print(response)
asyncio.run(main())
For more LLM providers (Anthropic, Google, Ollama, Watsonx) and detailed examples including Jupyter notebooks, see the examples/ directory.
| Tool | Description |
|---|---|
transpile_circuit_tool | Transpile a circuit with configurable optimization |
analyze_circuit_tool | Analyze circuit structure without transpiling |
compare_optimization_levels_tool | Compare all optimization levels (0-3) |
load_circuit_from_qasm_tool | Load a circuit from OpenQASM 2.0 or 3.0 string, returning QPY and metadata |
export_circuit_to_qasm_tool | Export a QPY circuit to OpenQASM 2.0 or 3.0 format |
convert_qpy_to_qasm3_tool | Convert a base64-encoded QPY circuit to QASM3 |
convert_qasm3_to_qpy_tool | Convert a QASM3 (or QASM2) circuit to base64-encoded QPY |
| Resource URI | Description |
|---|---|
qiskit://transpiler/info | Transpiler capabilities and documentation |
qiskit://transpiler/basis-gates | Available basis gate presets |
qiskit://transpiler/topologies | Available coupling map topologies |
transpile_circuit(circuit, optimization_level=2, basis_gates=None, coupling_map=None, initial_layout=None, seed_transpiler=None, circuit_format="qasm3")Transpile a quantum circuit using Qiskit's preset pass managers.
Parameters:
circuit: Quantum circuit as QASM3 string, base64-encoded QPY, or QASM2 string (max 100 qubits, 10,000 gates)optimization_level: 0-3 (default: 2)basis_gates: List of gate names or preset ("ibm_default", "ibm_heron", etc.)coupling_map: List of edges or topology name ("linear", "ring", "grid", "full")initial_layout: List of physical qubit indices (length must match circuit qubits)seed_transpiler: Random seed for reproducibilitycircuit_format: Format of the input circuit ("qasm3" or "qpy"). Defaults to "qasm3". When "qasm3" is specified, QASM2 is also accepted as a fallback.Returns: Dictionary with original/transpiled circuit info and optimization metrics
Note: Level 3 optimization can be very slow for circuits with >20 qubits or >500 gates. Use level 2 for faster results with good quality.
analyze_circuit(circuit, circuit_format="qasm3")Analyze circuit structure and complexity.
Returns: Dictionary with gate counts, depth, and categorization (single/two/multi-qubit gates)
compare_optimization_levels(circuit, circuit_format="qasm3")Compare transpilation results across all optimization levels.
Returns: Dictionary comparing depth, size, and gates for levels 0-3
The server supports two circuit formats for input:
| Format | Description |
|---|---|
qasm3 | OpenQASM 3.0 string (with QASM2 fallback). Human-readable text format. |
qpy | Base64-encoded QPY binary format. Preserves exact parameters and metadata. |
QPY output: All tools return circuits in QPY format (base64-encoded) for precision when chaining tools/servers.
When to use each format:
To view a QPY circuit output in human-readable format, use the qpy_to_qasm3 utility:
from qiskit_mcp_server import qpy_to_qasm3
from qiskit_mcp_server.transpiler import transpile_circuit
result = transpile_circuit.sync(qasm_circuit, optimization_level=2) qpy_output = result"transpiled_circuit"
conversion = qpy_to_qasm3(qpy_output) if conversion["status"] == "success": print(conversion["qasm3"])
To convert a QASM circuit to QPY format (for full fidelity when chaining tools), use qasm3_to_qpy:
from qiskit_mcp_server import qasm3_to_qpy
qasm_circuit = ''' OPENQASM 3.0; include "stdgates.inc"; qubit[2] q; h q[0]; cx q[0], q[1]; '''
result = qasm3_to_qpy(qasm_circuit) if result["status"] == "success": qpy_string = result["circuit_qpy"]
| Preset | Gates | Description |
|---|---|---|
ibm_eagle | id, rz, sx, x, ecr, reset | IBM Eagle r3 (127 qubits, uses ECR) |
ibm_heron | id, rz, sx, x, cz, reset | IBM Heron (133-156 qubits, uses CZ) |
ibm_legacy | id, rz, sx, x, cx, reset | Older IBM systems (uses CX) |
You can also provide a custom list of gate names for other hardware targets.
| Topology | Description |
|---|---|
linear | Chain connectivity (qubit i ↔ i+1) |
ring | Linear with wraparound |
grid | 2D grid connectivity |
heavy_hex | IBM heavy-hex topology (Eagle/Heron architecture) |
full | All-to-all connectivity |
To ensure reliable performance, the server enforces the following limits:
| Limit | Default | Environment Variable |
|---|---|---|
| Maximum qubits | 100 | QISKIT_MCP_MAX_QUBITS |
| Maximum gates | 10,000 | QISKIT_MCP_MAX_GATES |
Circuits exceeding these limits will return an error with a descriptive message.
You can override these limits via environment variables:
# Allow up to 200 qubits and 50,000 gates
export QISKIT_MCP_MAX_QUBITS=200 export QISKIT_MCP_MAX_GATES=50000
| Optimization Level | Use Case | Performance |
|---|---|---|
| 0 | Quick iterations, debugging | Fastest |
| 1 | Development, prototyping | Fast |
| 2 | Production use (recommended) | Balanced |
| 3 | Critical applications, small circuits | Slowest |
Tips: