MCP server for quantum computing tools - simulation, transpilation, QPU access
Project description
coda-mcp
MCP server for quantum computing tools. Provides circuit simulation, transpilation, QPU access, and research paper search.
Works with MCP-compatible clients that support stdio transport: Claude Desktop, Claude Code (CLI), VS Code, Cursor, Zed, and more.
Quick Start
1. Get your API token
Generate a token at coda.conductorquantum.com/settings/api
2. Configure your MCP client
Claude Desktop
Add to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %AppData%\Claude\claude_desktop_config.json
{
"mcpServers": {
"coda": {
"command": "/path/to/uvx",
"args": ["coda-mcp"],
"env": {
"CODA_API_TOKEN": "your-token-here"
}
}
}
}
Find your uvx path with which uvx (typically ~/.local/bin/uvx or /usr/local/bin/uvx).
Restart Claude Desktop after saving.
Claude Code (CLI)
Quick install via CLI:
claude mcp add --env CODA_API_TOKEN=your-token-here coda -- uvx coda-mcp
Or manual configuration - add to ~/.claude.json:
{
"mcpServers": {
"coda": {
"command": "/path/to/uvx",
"args": ["coda-mcp"],
"env": {
"CODA_API_TOKEN": "your-token-here"
}
}
}
}
Team-shared config - add .mcp.json to your project root:
{
"mcpServers": {
"coda": {
"command": "/path/to/uvx",
"args": ["coda-mcp"],
"env": {
"CODA_API_TOKEN": "${CODA_API_TOKEN}"
}
}
}
}
Then team members only need to set CODA_API_TOKEN in their environment.
Cursor
Add to your Cursor MCP config (~/.cursor/mcp.json or .cursor/mcp.json in project root):
{
"mcpServers": {
"coda": {
"command": "/path/to/uvx",
"args": ["coda-mcp"],
"env": {
"CODA_API_TOKEN": "your-token-here"
}
}
}
}
Find your uvx path with which uvx.
Zed
Add to your Zed settings (~/.config/zed/settings.json):
{
"context_servers": {
"coda": {
"command": {
"path": "/path/to/uvx",
"args": ["coda-mcp"],
"env": {
"CODA_API_TOKEN": "your-token-here"
}
}
}
}
}
Generic MCP Client
For any MCP-compatible client, configure:
- Transport: stdio
- Command:
uvx coda-mcp - Environment:
CODA_API_TOKEN=your-token-here
Or if you prefer pip installation:
pip install coda-mcp
coda-mcp # runs the server
Installation
# Using uvx (recommended, no install needed)
uvx coda-mcp
# Using pip
pip install coda-mcp
# Using uv
uv tool install coda-mcp
Tools
Quantum Circuit Tools
| Tool | Description |
|---|---|
transpile |
Convert between quantum frameworks (Qiskit, Cirq, PennyLane, Braket, PyQuil, CUDA-Q, OpenQASM) |
simulate |
Run circuit simulation (CPU via Aer, GPU via CUDA-Q) |
to_openqasm3 |
Convert circuit to OpenQASM 3.0 |
estimate_resources |
Analyze qubit count, depth, and gate counts |
split_circuit |
Cut large circuits for distributed execution |
QPU Tools
| Tool | Description |
|---|---|
qpu_submit |
Submit circuit to QPU backend (IonQ, IQM, Rigetti, AQT) |
qpu_status |
Check job status and get results |
qpu_devices |
List available QPU devices |
Search Tools
| Tool | Description |
|---|---|
search_papers |
Search quantum computing papers via Exa |
get_paper |
Fetch full paper contents |
Examples
Simulate a Bell State
Create and simulate a Bell state circuit
The simulate tool accepts Qiskit code:
from qiskit import QuantumCircuit
qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.measure_all()
Submit to Real QPU
Convert my circuit to OpenQASM and submit to IonQ
- Use
to_openqasm3to convert your circuit - Use
qpu_submitwithbackend="ionq"to submit - Use
qpu_statusto check results
Environment Variables
| Variable | Description | Required |
|---|---|---|
CODA_API_TOKEN |
Your API token from coda.conductorquantum.com/settings/api | Yes |
CODA_API_URL |
API endpoint URL (default: production API) | No |
Troubleshooting
"CODA_API_TOKEN not set"
- Ensure the environment variable is set in your MCP client config
- Verify your token is valid at coda.conductorquantum.com/settings/api
"Connection refused"
- Check your internet connection
- The Coda API may be temporarily unavailable
Tools not appearing
- Restart your MCP client after configuration changes
- Verify
uvx coda-mcpruns without errors in terminal - Check that JSON config syntax is valid
Debug logs (Claude Desktop)
- macOS:
~/Library/Logs/Claude/mcp.logandmcp-server-coda.log - Windows:
%AppData%\Claude\logs\
Debug logs (Claude Code)
claude mcp list # Check server status
/mcp # Check status in Claude Code session
Windows-specific issues
- If
uvxis not found, use full path or install viapip install coda-mcp - Add
APPDATAto env if you see ENOENT errors
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coda_mcp-0.1.1.tar.gz.
File metadata
- Download URL: coda_mcp-0.1.1.tar.gz
- Upload date:
- Size: 62.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
737adb6b646115b3c8ce44a0026f310e96c5b6e7e223046275118d2c3dae568c
|
|
| MD5 |
c7f8bdc03c76ef4d2f2f4ad95e62c23e
|
|
| BLAKE2b-256 |
f4e172525082c7241f2aafafff66ac39787a2320639100830af338647290f324
|
Provenance
The following attestation bundles were made for coda_mcp-0.1.1.tar.gz:
Publisher:
publish-mcp.yml on conductorquantum/coda
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coda_mcp-0.1.1.tar.gz -
Subject digest:
737adb6b646115b3c8ce44a0026f310e96c5b6e7e223046275118d2c3dae568c - Sigstore transparency entry: 963288724
- Sigstore integration time:
-
Permalink:
conductorquantum/coda@bd7416143c3d97733b97569a65eacb91689bb689 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/conductorquantum
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@bd7416143c3d97733b97569a65eacb91689bb689 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file coda_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: coda_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03b37235b5ed2ee68dd024eff132899735d80ec4e1c2709afed62545a375a64f
|
|
| MD5 |
992aa7e8cb5281d13784da65441654c6
|
|
| BLAKE2b-256 |
4f3039b9384ff28bac7bbc52b587d54d40170950deee0c96e6c0d6384ea77a11
|
Provenance
The following attestation bundles were made for coda_mcp-0.1.1-py3-none-any.whl:
Publisher:
publish-mcp.yml on conductorquantum/coda
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coda_mcp-0.1.1-py3-none-any.whl -
Subject digest:
03b37235b5ed2ee68dd024eff132899735d80ec4e1c2709afed62545a375a64f - Sigstore transparency entry: 963288731
- Sigstore integration time:
-
Permalink:
conductorquantum/coda@bd7416143c3d97733b97569a65eacb91689bb689 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/conductorquantum
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@bd7416143c3d97733b97569a65eacb91689bb689 -
Trigger Event:
workflow_dispatch
-
Statement type: