Post-Quantum Cryptography Posture Scanner — find quantum-vulnerable crypto in your codebase
Project description
quantum-mcp
The world's first quantum computing MCP server.
Give any AI agent access to real quantum hardware, true random number generation, and post-quantum cryptography scanning -- in four tool calls.
Tools
| Tool | What it does |
|---|---|
quantum_random |
True quantum random bytes -- not PRNG, not /dev/urandom, actual quantum measurement |
quantum_pqc_scan |
Scan any codebase for quantum-vulnerable crypto (RSA, ECDSA, DH, MD5, SHA-1, AES-128) |
quantum_backends |
List available quantum backends with qubit counts, costs, and status |
quantum_circuit |
Run arbitrary OpenQASM 2.0 circuits on simulator or IBM QPU |
Why Quantum?
Quantum randomness is physically unpredictable. Classical PRNGs are deterministic -- given the seed, every output is reproducible. Quantum random numbers come from measuring superposition states where the outcome is fundamentally undetermined until observation. No seed. No pattern. No prediction. Not even in theory.
Post-quantum crypto scanning is not optional. NIST finalized its post-quantum standards (ML-KEM, ML-DSA, SLH-DSA) in 2024. Every RSA key, every ECDSA signature, every Diffie-Hellman exchange in your codebase is a ticking clock. Harvest-now-decrypt-later attacks mean data encrypted today with vulnerable algorithms is already at risk. The migration deadline isn't "when quantum computers are ready" -- it's now.
Quick Start
pip install qiskit fastapi uvicorn
python3 server.py
# Running on http://localhost:8200
MCP Configuration
Add to your Claude Desktop or MCP client config:
{
"mcpServers": {
"quantum": {
"url": "http://localhost:8200",
"tools": ["quantum_random", "quantum_pqc_scan", "quantum_backends", "quantum_circuit"]
}
}
}
Live Demo
quantum.overseerclaw.uk -- public instance, no auth required for simulator backend.
# Generate 256 bits of quantum randomness
curl -X POST https://quantum.overseerclaw.uk/call \
-H "Content-Type: application/json" \
-d '{"tool":"quantum_random","args":{"n_bytes":32}}'
# Scan a project for quantum-vulnerable crypto
curl -X POST https://quantum.overseerclaw.uk/call \
-H "Content-Type: application/json" \
-d '{"tool":"quantum_pqc_scan","args":{"path":"/path/to/project"}}'
PQC Scan Results: 33 Findings Across 7 Real Repos
We ran quantum_pqc_scan against 7 production repositories. Results:
| Risk | Count | Examples |
|---|---|---|
| CRITICAL | 14 | RSA key generation, ECDSA signing, Diffie-Hellman exchanges |
| HIGH | 12 | SHA-1 hashing, DSA signatures, MD5 checksums |
| MEDIUM | 7 | AES-128 encryption (Grover's halves effective key length) |
Every finding includes the exact file, line number, matched pattern, and a concrete migration path to NIST PQC standards.
Backends
| Backend | Qubits | Cost | Auth |
|---|---|---|---|
| Local simulator | 32 | Free | None |
| IBM Quantum | 127 | $96/min (10 free min/month) | IBM_QUANTUM_TOKEN |
| Origin Wukong | 72 | Free | ORIGIN_QUANTUM_TOKEN |
Environment Variables
IBM_QUANTUM_TOKEN=your_ibm_cloud_api_key
IBM_QUANTUM_CRN=your_cloud_resource_name
ORIGIN_QUANTUM_TOKEN=your_origin_token
QUANTUM_MCP_PORT=8200
License
MIT
Project details
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 pqc_posture-0.1.1.tar.gz.
File metadata
- Download URL: pqc_posture-0.1.1.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5a0d9b5dc88c5d4a9bbe2bd087ef29f2bd038f7c7fd4e9be08cefe5b3ac11d8
|
|
| MD5 |
d9fad3aa8bb9d302a51bd2800a3d2a26
|
|
| BLAKE2b-256 |
88507109576e0ba82ebfb76130563b3be350aabc03ff521d687893214d99973f
|
File details
Details for the file pqc_posture-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pqc_posture-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9ee796ed2529f59bb3e15d0d2eb338f986750d58fd18840c4676c040f356697
|
|
| MD5 |
56e8403ff762afb1d5a3394e07ad71f8
|
|
| BLAKE2b-256 |
dd2ee1cdfdb64c3c20a2186d84aac4ca785e87816c858f5c1c802c9fbb37de99
|