{
  "markdown": "# QuReDec MCP Server\n\n<!-- mcp-name: io.github.Advanced-Binary-Operations/quredec -->\n\nRun a structured QuReDec decision brief from inside Claude Code, Claude Desktop, Cursor, or any MCP-compatible client.\n\n> **Status:** alpha (2026-04-30). Wired to the live QuReDec public API\n> (`/api/v1/brief*`, per-user Bearer-token auth). Set `QUREDEC_MOCK=1` for\n> offline development.\n\n## What this does\n\n| Tool | Description |\n|---|---|\n| `decision_brief` | Submit a question; receive a structured, evidence-backed decision brief with citations |\n| `get_brief_status` | Poll an in-progress brief by ID |\n| `list_recent_briefs` | List the caller's recent briefs |\n\nThe completed brief contains: `executive_summary`, `recommendation`,\n`confidence` (0–1), `key_facts[].citation_ids`, `implications[]`, `actions[]`\n(with `effort` + `impact`), `risks[]` (with `severity` + `citation_ids`),\nand `citations[]` (with `citation_id`, `title`, `url`, `source_type`).\n\n## Install\n\n```bash\npip install quredec-mcp\n```\n\nOr from source:\n\n```bash\ngit clone https://github.com/Advanced-Binary-Operations/QuReDec_MCP\ncd QuReDec_MCP\npip install -e .\n```\n\n## Configure\n\nGenerate a QuReDec API key at https://quredec.com/account → API keys.\nEach key is shown to you exactly once at creation; copy it into a password\nmanager immediately.\n\nAdd to your MCP client config (Claude Desktop example):\n\n```json\n{\n  \"mcpServers\": {\n    \"quredec\": {\n      \"command\": \"quredec-mcp\",\n      \"env\": {\n        \"QUREDEC_API_KEY\": \"qrd_live_xxxxxxxxxxxx\"\n      }\n    }\n  }\n}\n```\n\nOptional env vars:\n- `QUREDEC_BASE_URL` — defaults to `https://quredec.com`.\n- `QUREDEC_MOCK=1` — run against an in-process mock for development.\n\n## Usage example\n\nIn Claude Code or Claude Desktop:\n\n> Use the `decision_brief` tool to evaluate \"Should I migrate from Stripe to LemonSqueezy?\"\n\nThe brief comes back with: recommendation, confidence score, key facts with\ninline citation ids, risks, recommended actions, and a public share URL.\nBriefs typically take 2–5 minutes; the tool blocks and polls by default\n(timeout 600 s) and falls back to a synthetic running status with a poll\nhint if the timeout fires.\n\n## Pricing\n\nThe MCP server is free. Briefs consume credits from your QuReDec account:\n- **Starter** $4.99 — 3 briefs (one-time)\n- **Pro** $49/mo — 30 briefs/mo\n\nSee https://quredec.com/pricing.\n\n## Development\n\nUnit tests run against the in-process mock (no network, no key required):\n\n```bash\npip install -e \".[dev]\"\nQUREDEC_MOCK=1 pytest\n```\n\nRun the server locally against the mock:\n\n```bash\nQUREDEC_MOCK=1 quredec-mcp\n```\n\n### Live integration test\n\n`scripts/integration_test.py` exercises the full path against `quredec.com`:\nsubmit → poll → assert brief schema → list. It consumes 1 credit from the\naccount whose key you pass in, so run it sparingly.\n\n```bash\nQUREDEC_API_KEY=qrd_live_xxxxxxxxxxxx \\\n  python scripts/integration_test.py\n```\n\nOptional env vars:\n- `QUREDEC_BASE_URL` — defaults to `https://quredec.com`.\n- `QUREDEC_QUESTION` — override the default seed question.\n- `QUREDEC_TIMEOUT` — poll timeout in seconds (default 600).\n\nExit code 0 on full pass, 1 on the first failed assertion.\n\n## License\n\nMIT — see `LICENSE`.\n\n## Maintainer\n\nAdvanced Binary Operations LLC · support@advancedbinaryoperations.com\n",
  "bytes": 3274,
  "sha": "443694e3cb7c865e8906482947a950898741eefbbcf8d83f1b1c13519368800e",
  "repo_slug": "advanced-binary-operations/quredec_mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_advanced_binary_operations_qur_b2bd5f79/readme"
}