Skip to main content
Glama
Team23gm

Bitcoin Monetary Data MCP Server

by Team23gm
README.md
# Bitcoin Monetary Data MCP Server

An MCP server that gives AI agents access to honest economic data.
No spin. No cope. Just the numbers.

## What it does

Exposes 4 tools any AI agent can call:

| Tool | What it answers |
|------|----------------|
| `purchasing_power_comparison` | What is $X from year Y worth today? What SHOULD it be worth? |
| `m2_vs_cpi_divergence` | How much did the Fed hide from the inflation numbers? |
| `btc_vs_dollar` | What if you held Bitcoin instead of dollars? |
| `current_monetary_stats` | Current snapshot of key monetary indicators |

## Install & Run

```bash
npm install
node index.js
```

## Connect to Claude Desktop

Add this to your Claude Desktop config file:

**Mac:** `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

```json
{
  "mcpServers": {
    "bitcoin-monetary-data": {
      "command": "node",
      "args": ["/root/.openclaw/workspace/projects/bitcoin-mcp-server/index.js"]
    }
  }
}
```

Then restart Claude Desktop. You'll see the tools available in the tool menu.

## Data Sources

- **CPI:** U.S. Bureau of Labor Statistics (CPI-U, all items, annual averages)
- **M2:** Federal Reserve H.6 Money Stock Measures
- **Bitcoin:** CoinGecko historical prices (annual close)

Data is currently embedded (no API calls needed). Future versions will pull live data from FRED and CoinGecko APIs.

## Next Steps

- [ ] Wire in live FRED API for real-time M2 data
- [ ] Wire in live CoinGecko API for BTC price
- [ ] Add to MCP registry (mcp.so + registry.modelcontextprotocol.io)
- [ ] Add L402 Lightning payment gating for per-call monetization