Skip to main content

MCP server for QuReDec — structured decision briefs with citations from inside Claude Code / Claude Desktop / Cursor.

Project description

QuReDec MCP Server

Run a structured QuReDec decision brief from inside Claude Code, Claude Desktop, Cursor, or any MCP-compatible client.

Status: alpha (2026-04-30). Wired to the live QuReDec public API (/api/v1/brief*, per-user Bearer-token auth). Set QUREDEC_MOCK=1 for offline development.

What this does

Tool Description
decision_brief Submit a question; receive a structured, evidence-backed decision brief with citations
get_brief_status Poll an in-progress brief by ID
list_recent_briefs List the caller's recent briefs

The completed brief contains: executive_summary, recommendation, confidence (0–1), key_facts[].citation_ids, implications[], actions[] (with effort + impact), risks[] (with severity + citation_ids), and citations[] (with citation_id, title, url, source_type).

Install

pip install quredec-mcp

Or from source:

git clone https://github.com/Advanced-Binary-Operations/QuReDec_MCP
cd QuReDec_MCP
pip install -e .

Configure

Generate a QuReDec API key at https://quredec.com/account → API keys. Each key is shown to you exactly once at creation; copy it into a password manager immediately.

Add to your MCP client config (Claude Desktop example):

{
  "mcpServers": {
    "quredec": {
      "command": "quredec-mcp",
      "env": {
        "QUREDEC_API_KEY": "qrd_live_xxxxxxxxxxxx"
      }
    }
  }
}

Optional env vars:

  • QUREDEC_BASE_URL — defaults to https://quredec.com.
  • QUREDEC_MOCK=1 — run against an in-process mock for development.

Usage example

In Claude Code or Claude Desktop:

Use the decision_brief tool to evaluate "Should I migrate from Stripe to LemonSqueezy?"

The brief comes back with: recommendation, confidence score, key facts with inline citation ids, risks, recommended actions, and a public share URL. Briefs typically take 2–5 minutes; the tool blocks and polls by default (timeout 600 s) and falls back to a synthetic running status with a poll hint if the timeout fires.

Pricing

The MCP server is free. Briefs consume credits from your QuReDec account:

  • Starter $4.99 — 3 briefs (one-time)
  • Pro $49/mo — 30 briefs/mo

See https://quredec.com/pricing.

Development

Unit tests run against the in-process mock (no network, no key required):

pip install -e ".[dev]"
QUREDEC_MOCK=1 pytest

Run the server locally against the mock:

QUREDEC_MOCK=1 quredec-mcp

Live integration test

scripts/integration_test.py exercises the full path against quredec.com: submit → poll → assert brief schema → list. It consumes 1 credit from the account whose key you pass in, so run it sparingly.

QUREDEC_API_KEY=qrd_live_xxxxxxxxxxxx \
  python scripts/integration_test.py

Optional env vars:

  • QUREDEC_BASE_URL — defaults to https://quredec.com.
  • QUREDEC_QUESTION — override the default seed question.
  • QUREDEC_TIMEOUT — poll timeout in seconds (default 600).

Exit code 0 on full pass, 1 on the first failed assertion.

License

MIT — see LICENSE.

Maintainer

Advanced Binary Operations LLC · support@advancedbinaryoperations.com

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

quredec_mcp-0.1.1.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quredec_mcp-0.1.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file quredec_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: quredec_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for quredec_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 502fd751d17b302d04a06284b37e7eb8d967eb24ea8cbeade4fa6f45815ae1f0
MD5 311f347d4f79bec0c1af6f2a73f86940
BLAKE2b-256 804a38d9cb12ad4c9be547164ac0e60f384ac1d638cb369fc65c750690ad98be

See more details on using hashes here.

File details

Details for the file quredec_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: quredec_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for quredec_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d80c9032062a228325463109a2f4cc19eb8d2e6733bd9cc3010eb292e13bd328
MD5 c4749d4b7e73dd7310d1369f011af826
BLAKE2b-256 9b5cf87730c67ecfc74ff5be2d85d7eb8a087dd153e59f0382cdde939d24d1bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page