@tensorfeed/mcp-server 1.9.0

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,46 @@
1
+ # Changelog
2
+
3
+ All notable changes to the [TensorFeed.ai MCP server](https://github.com/RipperMercs/tensorfeed/tree/main/mcp-server). Free tools work without configuration; premium tools require a bearer token via the `TENSORFEED_TOKEN` env var. Buy credits at [tensorfeed.ai/developers/agent-payments](https://tensorfeed.ai/developers/agent-payments).
4
+
5
+ ## 1.7.0 - 2026-04-27
6
+
7
+ ### Added
8
+ - `compare_models` tool — side-by-side comparison of 2-5 AI models with normalized benchmarks (union-of-keys with null for missing scores) and rankings (cheapest blended, most context, per-benchmark leaderboard). 1 credit per call.
9
+
10
+ ## 1.6.0 - 2026-04-27
11
+
12
+ ### Added
13
+ - `provider_deepdive` tool — one provider's full profile in a single call: live status with components, all models with pricing + tier + benchmark scores joined, recent news, agent traffic. 1 credit per call.
14
+
15
+ ## 1.5.0 - 2026-04-27
16
+
17
+ ### Added
18
+ - `create_digest_watch` tool — register a scheduled daily/weekly digest watch. Fires HMAC-signed POST to your callback URL with a curated pricing-changes summary regardless of whether anything dramatic happened. 1 credit per registration.
19
+
20
+ ## 1.4.0 - 2026-04-27
21
+
22
+ ### Added
23
+ - `forecast` tool — conservative linear-regression forecast for a price field or benchmark score with 95% prediction interval and confidence label. 1 credit per call.
24
+
25
+ ## 1.3.0 - 2026-04-27
26
+
27
+ ### Added
28
+ - `cost_projection` tool — project workload cost across 1-10 AI models with four time horizons and cheapest-monthly ranking. 1 credit per call.
29
+
30
+ ## 1.2.0 - 2026-04-27
31
+
32
+ ### Added
33
+ - `news_search` tool — full-text search over the AI news corpus with date/provider/category filters and relevance scoring. 1 credit per call.
34
+
35
+ ## 1.1.0 - 2026-04-27
36
+
37
+ ### Added
38
+ - 12 premium tools: `premium_routing`, `pricing_series`, `benchmark_series`, `status_uptime`, `history_compare`, `premium_agents_directory`, `list_watches`, `create_price_watch`, `create_status_watch`, `delete_watch`, `get_account_balance`, `get_account_usage`. All gated by the `TENSORFEED_TOKEN` env var.
39
+ - `fetchJSON()` helper extended with `{ method, body, auth }` so tools can hit POST and DELETE endpoints. Friendly error messages on 401 (token rejected) and 402 (insufficient credits).
40
+ - `mcp-server/server.json` manifest authored against the official MCP registry schema (`ai.tensorfeed/mcp-server`).
41
+ - README expanded with per-tier tool tables and `env` config examples for Claude Desktop / Code.
42
+
43
+ ## 1.0.0 — 2026-04-26 (initial release)
44
+
45
+ ### Added
46
+ - 5 free tools: `get_ai_news`, `get_ai_status`, `is_service_down`, `get_model_pricing`, `get_ai_today`. No auth, no install beyond `npx -y @tensorfeed/mcp-server`.
package/README.md ADDED
@@ -0,0 +1,115 @@
1
+ # TensorFeed MCP Server
2
+
3
+ A [Model Context Protocol](https://modelcontextprotocol.io) server that gives AI agents access to real-time AI industry data and premium endpoints from [TensorFeed.ai](https://tensorfeed.ai).
4
+
5
+ ## Free Tools
6
+
7
+ | Tool | Description |
8
+ |------|-------------|
9
+ | `get_ai_news` | Latest AI news from 15+ sources (filterable by category) |
10
+ | `get_ai_status` | Real-time status of Claude, OpenAI, Gemini, Mistral, and more |
11
+ | `is_service_down` | Check if a specific AI service is down |
12
+ | `get_model_pricing` | Compare pricing across all major AI model providers |
13
+ | `get_ai_today` | Summary of top AI stories from the last 24 hours |
14
+
15
+ ## Premium Tools (paid in USDC on Base)
16
+
17
+ These tools require a `TENSORFEED_TOKEN` env var. Buy credits at [tensorfeed.ai/developers/agent-payments](https://tensorfeed.ai/developers/agent-payments) and pass the returned `tf_live_...` token to your MCP client.
18
+
19
+ | Tool | Cost | Description |
20
+ |------|------|-------------|
21
+ | `get_account_balance` | Free | Show credits remaining on the configured token |
22
+ | `get_account_usage` | Free | Per-endpoint usage history for the configured token |
23
+ | `premium_routing` | 1 credit | Top-N ranked AI model recommendations with full score breakdown |
24
+ | `pricing_series` | 1 credit | Daily price points for one model with min/max/delta summary |
25
+ | `benchmark_series` | 1 credit | Score evolution for a benchmark on one model |
26
+ | `status_uptime` | 1 credit | Daily uptime % for one provider with incident-day list |
27
+ | `history_compare` | 1 credit | Diff two daily snapshots: added, removed, changed entries |
28
+ | `premium_agents_directory` | 1 credit | Enriched agents catalog with live status, news, traffic, trending_score |
29
+ | `news_search` | 1 credit | Full-text news search with date/provider/category filters and relevance scoring |
30
+ | `cost_projection` | 1 credit | Project workload cost across 1-10 AI models with 4 time horizons and cheapest-monthly ranking |
31
+ | `forecast` | 1 credit | Linear-regression forecast for a price field or benchmark score with 95% CI and confidence label |
32
+ | `provider_deepdive` | 1 credit | One provider's full profile: status, all models with benchmarks joined, recent news, traffic |
33
+ | `compare_models` | 1 credit | Side-by-side comparison of 2-5 models with normalized benchmarks and rankings |
34
+ | `whats_new` | 1 credit | Agent morning brief: pricing changes, incidents, top news from last 1-7 days |
35
+ | `list_watches` | Free | List active webhook watches owned by the token |
36
+ | `create_price_watch` | 1 credit | Register a webhook watch on a model price change |
37
+ | `create_status_watch` | 1 credit | Register a webhook watch on a service status transition |
38
+ | `create_digest_watch` | 1 credit | Register a daily/weekly digest webhook (pricing-changes summary, set-and-forget) |
39
+ | `delete_watch` | Free | Remove an active watch |
40
+
41
+ ## Setup with Claude Code
42
+
43
+ Add to your Claude Code MCP config (`~/.claude/claude_desktop_config.json`):
44
+
45
+ ```json
46
+ {
47
+ "mcpServers": {
48
+ "tensorfeed": {
49
+ "command": "npx",
50
+ "args": ["-y", "@tensorfeed/mcp-server"]
51
+ }
52
+ }
53
+ }
54
+ ```
55
+
56
+ To enable premium tools, add the `env` block:
57
+
58
+ ```json
59
+ {
60
+ "mcpServers": {
61
+ "tensorfeed": {
62
+ "command": "npx",
63
+ "args": ["-y", "@tensorfeed/mcp-server"],
64
+ "env": {
65
+ "TENSORFEED_TOKEN": "tf_live_..."
66
+ }
67
+ }
68
+ }
69
+ }
70
+ ```
71
+
72
+ ## Setup with Claude Desktop
73
+
74
+ Add to Claude Desktop settings (same shape as above).
75
+
76
+ ## Run Locally
77
+
78
+ ```bash
79
+ npx @tensorfeed/mcp-server
80
+ # or with a token for premium endpoints
81
+ TENSORFEED_TOKEN=tf_live_... npx @tensorfeed/mcp-server
82
+ ```
83
+
84
+ ## Example Queries
85
+
86
+ Free tier:
87
+
88
+ - "What's happening in AI today?"
89
+ - "Is Claude down right now?"
90
+ - "Compare pricing between Claude Opus and GPT-4o"
91
+ - "Show me the latest AI research papers"
92
+ - "What's the status of all AI services?"
93
+
94
+ Premium tier (with `TENSORFEED_TOKEN` set):
95
+
96
+ - "Recommend the best AI model for code under $5 per million tokens"
97
+ - "Show the price history of Claude Opus 4.7 over the last 30 days"
98
+ - "What's Anthropic's uptime this month?"
99
+ - "Compare model pricing between April 1 and today"
100
+ - "Set up a webhook to my server when Claude goes down"
101
+ - "What's my credit balance?"
102
+
103
+ ## Pricing
104
+
105
+ Premium tools cost 1 credit per call. Credits are 50 per $1 USDC at base rate, with volume discounts at $5 (10%), $30 (25%), and $200 (40%). See [tensorfeed.ai/developers/agent-payments](https://tensorfeed.ai/developers/agent-payments) for the full payment flow and trust attestation.
106
+
107
+ Refunds: email evan@tensorfeed.ai with the tx hash within 24h of the charge.
108
+
109
+ ## Data Source
110
+
111
+ All data comes from the [TensorFeed.ai API](https://tensorfeed.ai/developers), which aggregates from 15+ sources including Anthropic, OpenAI, Google AI, TechCrunch, The Verge, arXiv, Hacker News, and more. Updated every 10 minutes.
112
+
113
+ ## License
114
+
115
+ MIT - Built by [TensorFeed.ai](https://tensorfeed.ai/about)
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};