Sponsored by Deepsite.site

Prereason

Created By
PreReason4 days ago
Pre-reasoned Bitcoin and macro market context that AI agents can actually use. 17 briefings covering BTC, Fed balance sheet, M2, Treasury yields, and cross-asset correlations. Returns trend signals, confidence scores, and regime classification in markdown or JSON.
Content

@prereason/mcp

npm version License: MIT PreReason/mcp MCP server

MCP server for PreReason — the Context API for financial agents.

PreReason returns pre-reasoned market briefings: trend signals, regime classification, confidence scores, cross-asset correlations, and causal narratives. Use it when your agent needs to reason about market conditions, not parse raw price feeds.

Quick Start

Option 1: Direct HTTP (Claude Code, Cursor, Windsurf, etc.)

Clients that support remote MCP servers can connect directly with no bridge package needed.

# Claude Code (CLI one-liner)
claude mcp add prereason --transport http https://api.prereason.com/api/mcp

Or add to .mcp.json / your client's MCP config:

{
  "mcpServers": {
    "prereason": {
      "type": "http",
      "url": "https://api.prereason.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Option 2: stdio bridge (Claude Desktop and other stdio-only clients)

Requires Node.js 18+

Add to your MCP client config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "prereason": {
      "command": "npx",
      "args": ["-y", "@prereason/mcp"],
      "env": {
        "PREREASON_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Claude Desktop config file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Restart your MCP client after editing the config. PreReason should appear with 5 tools.

Get an API Key

  1. Sign up at prereason.com/signup
  2. Go to Dashboard > Settings > API Keys
  3. Copy your key (starts with pr_live_)

5 MCP Tools

ToolAuthDescription
list_briefingsOpenList all 17 pre-reasoned market briefings with tier requirements
list_metricsOpenList all 38 available metrics: 30 API + 8 mining/energy (filterable by category)
get_healthOpenAPI health check, version, account tier
get_contextRequiredFetch a pre-reasoned market briefing (markdown or JSON)
get_metricRequiredFetch a single metric with trend/signal/percentile

17 Market Briefings

Free (6 briefings)

BriefingDescription
btc.quick-checkMinimal fast context: BTC + Net Liquidity + correlation
btc.contextBTC + liquidity + hash ribbon + difficulty + momentum
macro.snapshotFed balance, M2, treasury yields, VIX, net liquidity
cross.correlationsBTC correlation matrix vs macro indicators
btc.pulseVolume, fees, mempool analysis
btc.grid-stressEpoch pace and difficulty adjustment forecast

Basic - $19.99/mo (5 briefings)

BriefingDescription
btc.momentum200D MA support/resistance with 7d/30d/90d momentum and YTD percentiles
macro.liquidityLiquidity indicators with momentum analysis
btc.on-chainHash rate, difficulty, fees, mempool health
cross.breadthCross-asset breadth with SPY, DXY, VIX
btc.miner-survivalHashprice thermometer with miner stress scoring

Pro - $49.99/mo (6 briefings)

BriefingDescription
btc.fullComplete market intelligence with all metrics and analysis
btc.factorsMulti-factor attribution for BTC price movements
cross.regimeRegime classification (risk-on/risk-off/transition) with USDT.D risk sentiment
fx.liquidityFX environment with DXY, treasury, and global liquidity
btc.energyProduction cost model with gas input pressure
btc.treasuryCorporate Bitcoin treasury intelligence from SEC filings

Example Prompts

Once connected, try prompts like:

  • "What's the current BTC regime?"
  • "Show me the macro snapshot"
  • "What does the full context briefing say about market conditions?"
  • "Get the bitcoin price metric with trend analysis"
  • "What's the hash ribbon signal right now?"
  • "List available briefings"

Troubleshooting

"Server disconnected" error

  • Ensure Node.js 18+ is installed: node --version
  • Check your API key starts with pr_live_
  • Fully quit Claude Desktop (system tray > Quit) and reopen

Tools not appearing

  • Restart Claude Desktop after editing config
  • Verify JSON syntax: node -e "JSON.parse(require('fs').readFileSync('path/to/config','utf8'))"

Windows: "'C:\Program' is not recognized"

If you still see this error, ensure you're using the env block (not --header args) as shown in Quick Start above. If the issue persists, install globally and use node:

  1. Run: npm install -g @prereason/mcp
  2. Use this config (replace YOUR_USER with your Windows username):
{
  "mcpServers": {
    "prereason": {
      "command": "node",
      "args": [
        "C:\\Users\\YOUR_USER\\AppData\\Roaming\\npm\\node_modules\\@prereason\\mcp\\bin\\cli.js"
      ],
      "env": {
        "PREREASON_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Auth errors on get_context / get_metric

  • list_briefings, list_metrics, and get_health work without a key
  • get_context and get_metric require a valid API key
  • Get a free key at prereason.com/signup

Other MCP Clients

If your client supports remote HTTP servers, use Quick Start Option 1 above. The stdio bridge package is only needed for clients that require stdio transport (e.g. Claude Desktop).

CLI Usage

# Using environment variable (recommended)
PREREASON_API_KEY=pr_live_... npx @prereason/mcp

# Using --header flag (backward compatible)
npx @prereason/mcp --header "Authorization:Bearer YOUR_API_KEY"

# Custom URL
PREREASON_URL=https://custom.endpoint/mcp npx @prereason/mcp

# Help
npx @prereason/mcp --help

License

MIT

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Serper MCP ServerA Serper MCP Server
Playwright McpPlaywright MCP server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server
Tavily Mcp
CursorThe AI Code Editor
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
ChatWiseThe second fastest AI chatbot™