Pramana MCP server
Decide whether a prompt or model change is safe to ship, by running it against your own production runs.
Pramana is a flight recorder for AI agents. It records every non-deterministic decision your agent makes in production, replays any past run exactly against your changed code, and reports which decisions moved — not which sentences got reworded.
This MCP server lets an assistant read what Pramana recorded, and check a signed evidence bundle offline. It is read-only. There is deliberately no tool that starts a replay or a comparison: a sandboxed batch calls the model for real on every trace, so it spends money, and an MCP tool is a button any assistant can press without a person deciding. Producing a comparison stays a CLI verb behind its own confirmation gate.
Install
Nothing to install — uvx fetches it on demand.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"pramana": {
"command": "uvx",
"args": ["pramana-mcp"],
"env": {
"PRAMANA_API_KEY": "<your-engineer-or-admin-api-key>"
}
}
}
}
Claude Code
$ claude mcp add pramana --env PRAMANA_API_KEY=<your-engineer-or-admin-api-key> -- uvx pramana-mcp
Create a key in Settings → API keys at reliai.in. Use an engineer
or admin key — an auditor key deliberately never receives recorded prompts or responses, so
get_trace would come back empty. Self-hosting? Set PRAMANA_API_URL to your own API.
Tools
list_traces
List recorded AI agent runs (traces) captured by Pramana, optionally filtered by agent, status or time range.
"What agent runs did we record last Tuesday?"
{ "agent": "refund-agent", "since": "2026-09-22T00:00:00Z", "limit": 20 }
get_trace
Get one recorded agent run: its steps, model calls, tool calls with arguments, and outcome.
"Walk me through what the agent did in run loan-07 — which tools did it call, and with what?"
{ "trace_id": "loan-07-5a6eef" }
Long payloads are truncated, and the response says so rather than looking complete.
list_model_diffs
List comparison runs that checked a prompt or model change against recorded production runs.
"Have we compared anything against production since the model upgrade?"
{ "since": "2026-09-20T00:00:00Z", "limit": 20 }
get_model_diff
Get the findings of one comparison run: which decisions changed behaviourally, which were cosmetic, and which runs halted.
"What changed when we moved to the new model last Tuesday?"
{ "diff_id": "mdr_9f2c1a", "trace_id": "loan-07-5a6eef" }
Returns bucket counts first, then root findings, then consequent ones — never merged. One
root cause that produced forty downstream differences is one thing to investigate, not forty.
Passing trace_id is optional but much faster (see What the API could not do below).
verify_bundle
Verify a Pramana signed evidence bundle offline, with no account and no network access.
"Here's the evidence bundle the vendor sent. Is it intact?"
{ "bundle_path": "./bundle.json", "public_key_path": "./pramana-public-key.txt" }
public_key_path is required. The public key shipped inside a bundle is never used to check
that same bundle — that would defeat the point.
A pass proves the bundle has not been altered since it was signed. It does not prove that what was captured was everything that happened. This is a proof of record, not a judgement of conduct.
What the API could not do
Two tools are worse than they should be, and it is the API's fault rather than a design choice:
- There is no account-wide endpoint for comparison runs. They are only reachable per trace
(
/v1/traces/{id}/model-diffs), solist_model_diffsand aget_model_diffwithouttrace_idwalk the 50 most recent traces. A comparison against an older trace will not be found. Every response says so in anotesfield rather than quietly returning a short list. /v1/tracesreturnsagent_count, not agent ids, so filtering byagentmeans opening each trace. That filter is applied to the 50 most recent traces only, and says so.
Limitations
These are the same limitations as the SDK. They are not softened for a registry listing.
- You cannot import existing conversation logs. Replay needs the execution trace, and a transcript does not carry one. Your corpus starts the day you instrument.
- It reports that a decision changed, never whether the change is good. Judging a changed decision is your call.
- Sandboxing only covers tool calls you wrapped. In a sandboxed batch the tool calls you have wrapped are served from the recording and never executed, and the model is called for real because the new model is the thing you are testing. In a plain replay, nothing leaves the process at all: outbound network access is blocked at the process level, below whatever HTTP client you use. A tool call you did not wrap is invisible to Pramana and will execute normally, once per trace — the CLI prints how many wrapped tool call sites it found before a batch runs, and what that means multiplied across the batch.
- Python only. No JavaScript or TypeScript SDK.
- The OpenAI and Anthropic clients are supported. Azure OpenAI and
AnthropicBedrockpresent the same shape and are accepted, checked once by hand with no automated test. Rawboto3is not supported. - LangChain is tested. LangGraph, CrewAI and LlamaIndex are not, and are not supported.
- No SOC 2, no penetration test, no uptime SLA, no on-premise deployment.
- The evidence public key is not yet published at a stable URL.
verify_bundleruns offline and needs no account, but today you still obtain the key from us — which is not the same as independent verification, and is not claimed as such.
Release files for pramana-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pramana_mcp-0.1.0.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pramana_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.0 kB
Release files / pramana_mcp-0.1.0.tar.gz
| Download URL | pramana_mcp-0.1.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
855a67becb487076d6ddb82025a524dee8f08add9701f1bfe18cd1735bbf4e5a
|
|
BLAKE2b-256 checksum How to use checksums |
1ae4ebc12f46fb126f9d8a832004c69e2ac8c92fd0b7582bb7d6e1894a21b23b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pramana_mcp-0.1.0-py3-none-any.whl
| Download URL | pramana_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2aa83510dcec6188d43b0cd8d250ea6ff4824b67e54d5df782d82edc69c3a08
|
|
BLAKE2b-256 checksum How to use checksums |
97fded306feb717a4bb0a70f598ae4cf0942a6a46f198605ca3039dccf71dd71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|