@prereason/mcp 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +27 -24
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.7 (2026-03-04)
4
+
5
+ - Pin `@modelcontextprotocol/sdk` to exact `1.27.1` (fixes transitive CVEs in hono and qs)
6
+ - Update metric count from 26 to 30 (added 200D MA, distance from 200D MA, USDT market cap, USDT dominance)
7
+ - Update `btc.momentum` description to reflect 200D MA support/resistance
8
+ - Update `cross.regime` description to reflect USDT.D risk sentiment
9
+
10
+ ## 0.1.6 (2026-02-25)
11
+
12
+ - Fix description wording: replace "trend signals" with "trend interpretation"
13
+ - Add SECURITY.md with vulnerability reporting policy
14
+ - Add GitHub Actions CI workflow for provenance-signed npm publishing
15
+ - Public source repo at https://github.com/PreReason/mcp
16
+
3
17
  ## 0.1.3 (2026-02-21)
4
18
 
5
19
  - Add `PREREASON_API_KEY` environment variable support (fixes Windows `cmd.exe` quoting crash)
package/README.md CHANGED
@@ -5,13 +5,34 @@
5
5
 
6
6
  MCP server for [PreReason](https://www.prereason.com): pre-analyzed Bitcoin and macro financial intelligence.
7
7
 
8
- PreReason returns interpreted signals (bullish/bearish/neutral), trend analysis, regime classification, confidence scores, percentile rankings, and cross-asset correlations. Use it when your task needs market context for decision-making, not raw price feeds.
8
+ PreReason returns pre-analyzed market context: trend interpretation, momentum analysis, cross-asset correlations, and more. Use it when your task needs to understand market conditions for decision-making, not raw price feeds.
9
9
 
10
10
  ## Quick Start
11
11
 
12
12
  ### Option 1: Direct HTTP (Claude Code, Cursor, Windsurf, etc.)
13
13
 
14
- Clients that support remote MCP servers can connect directly to `https://api.prereason.com/api/mcp` with no bridge package needed. See [Other MCP Clients](#other-mcp-clients) below.
14
+ Clients that support remote MCP servers can connect directly with no bridge package needed.
15
+
16
+ ```bash
17
+ # Claude Code (CLI one-liner)
18
+ claude mcp add prereason --transport http https://api.prereason.com/api/mcp
19
+ ```
20
+
21
+ Or add to `.mcp.json` / your client's MCP config:
22
+
23
+ ```json
24
+ {
25
+ "mcpServers": {
26
+ "prereason": {
27
+ "type": "http",
28
+ "url": "https://api.prereason.com/api/mcp",
29
+ "headers": {
30
+ "Authorization": "Bearer YOUR_API_KEY"
31
+ }
32
+ }
33
+ }
34
+ }
35
+ ```
15
36
 
16
37
  ### Option 2: stdio bridge (Claude Desktop and other stdio-only clients)
17
38
 
@@ -50,7 +71,7 @@ Restart your MCP client after editing the config. PreReason should appear with 5
50
71
  | Tool | Auth | Description |
51
72
  |------|------|-------------|
52
73
  | `list_templates` | Open | List all 17 context templates with tier requirements |
53
- | `list_metrics` | Open | List all 26 available metrics (filterable by category) |
74
+ | `list_metrics` | Open | List all 30 available metrics (filterable by category) |
54
75
  | `get_health` | Open | API health check, version, account tier |
55
76
  | `get_context` | Required | Fetch a context template (markdown or JSON) |
56
77
  | `get_metric` | Required | Fetch a single metric with trend/signal/percentile |
@@ -70,7 +91,7 @@ Restart your MCP client after editing the config. PreReason should appear with 5
70
91
  ### Basic - $19.99/mo (5 templates)
71
92
  | Template | Description |
72
93
  |----------|-------------|
73
- | `btc.momentum` | Extended momentum with 90d trends and percentiles |
94
+ | `btc.momentum` | 200D MA support/resistance with 7d/30d/90d momentum and YTD percentiles |
74
95
  | `macro.liquidity` | Liquidity indicators with momentum analysis |
75
96
  | `btc.on-chain` | Hash rate, difficulty, fees, mempool health |
76
97
  | `cross.breadth` | Cross-asset breadth with SPY, DXY, VIX |
@@ -81,7 +102,7 @@ Restart your MCP client after editing the config. PreReason should appear with 5
81
102
  |----------|-------------|
82
103
  | `btc.full` | Complete market intelligence with all metrics and analysis |
83
104
  | `btc.factors` | Multi-factor attribution for BTC price movements |
84
- | `cross.regime` | Market regime classification (risk-on/risk-off/transition) |
105
+ | `cross.regime` | Regime classification (risk-on/risk-off/transition) with USDT.D risk sentiment |
85
106
  | `fx.liquidity` | FX environment with DXY, treasury, and global liquidity |
86
107
  | `btc.energy` | Production cost model with gas input pressure |
87
108
  | `btc.treasury` | Corporate Bitcoin treasury intelligence from SEC filings |
@@ -138,25 +159,7 @@ If you still see this error, ensure you're using the `env` block (not `--header`
138
159
 
139
160
  ## Other MCP Clients
140
161
 
141
- Clients that support remote HTTP servers (Claude Code, Cursor, Windsurf, and others) can connect directly without this bridge package:
142
-
143
- ```bash
144
- # Claude Code (CLI)
145
- claude mcp add prereason --transport http https://api.prereason.com/api/mcp
146
-
147
- # Or add to .mcp.json
148
- {
149
- "mcpServers": {
150
- "prereason": {
151
- "type": "http",
152
- "url": "https://api.prereason.com/api/mcp",
153
- "headers": {
154
- "Authorization": "Bearer YOUR_API_KEY"
155
- }
156
- }
157
- }
158
- }
159
- ```
162
+ If your client supports remote HTTP servers, use [Quick Start Option 1](#option-1-direct-http-claude-code-cursor-windsurf-etc) above. The stdio bridge package is only needed for clients that require stdio transport (e.g. Claude Desktop).
160
163
 
161
164
  ## CLI Usage
162
165
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@prereason/mcp",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
- "description": "MCP server for pre-analyzed Bitcoin and macro financial intelligence. Trend signals, regime classification, confidence scores, and 17 context templates.",
5
+ "description": "MCP server for pre-analyzed Bitcoin and macro financial intelligence. 17 context templates with trend interpretation, momentum analysis, and cross-asset correlations.",
6
6
  "bin": {
7
7
  "prereason-mcp": "./bin/cli.js"
8
8
  },
@@ -13,7 +13,7 @@
13
13
  "CHANGELOG.md"
14
14
  ],
15
15
  "dependencies": {
16
- "@modelcontextprotocol/sdk": "^1.26.0"
16
+ "@modelcontextprotocol/sdk": "1.27.1"
17
17
  },
18
18
  "engines": {
19
19
  "node": ">=18"