@tensorfeed/mcp-server 1.34.0 → 1.35.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/dist/index.js +59 -0
- package/package.json +1 -1
- package/server.json +6 -4
package/dist/index.js
CHANGED
|
@@ -1665,6 +1665,65 @@ registerTool('get_ai_cves_stats', 'Get aggregate counts across the most-recent A
|
|
|
1665
1665
|
],
|
|
1666
1666
|
};
|
|
1667
1667
|
});
|
|
1668
|
+
// ── Tool: get_ai_company_filings (free) ─────────────────────────────
|
|
1669
|
+
registerTool('get_ai_company_filings', 'Get recent SEC filings (10-K, 10-Q, 8-K, etc.) for one AI bellwether ticker. Cohort: NVDA, AMD, AVGO, TSM, ARM, MSFT, GOOGL, AMZN, ORCL, PLTR, SMCI, AAPL, META, TSLA. Source: data.sec.gov, public domain. Refreshed every 6 hours. Free, no auth.', {
|
|
1670
|
+
ticker: z.string().describe('AI bellwether ticker (case-insensitive). One of NVDA, AMD, AVGO, TSM, ARM, MSFT, GOOGL, AMZN, ORCL, PLTR, SMCI, AAPL, META, TSLA.'),
|
|
1671
|
+
limit: z.number().min(1).max(50).optional().describe('Max filings to return (default 10, max 50).'),
|
|
1672
|
+
}, async ({ ticker, limit }) => {
|
|
1673
|
+
const params = new URLSearchParams({ ticker: ticker.toUpperCase() });
|
|
1674
|
+
params.set('limit', String(limit ?? 10));
|
|
1675
|
+
const data = (await fetchJSON(`/sec/filings/recent?${params}`));
|
|
1676
|
+
if (!data.ok || !data.filings || data.filings.length === 0) {
|
|
1677
|
+
return {
|
|
1678
|
+
content: [
|
|
1679
|
+
{
|
|
1680
|
+
type: 'text',
|
|
1681
|
+
text: `No filings returned for ${ticker.toUpperCase()}. The ticker may not be in the AI bellwether cohort; supported tickers: NVDA, AMD, AVGO, TSM, ARM, MSFT, GOOGL, AMZN, ORCL, PLTR, SMCI, AAPL, META, TSLA.`,
|
|
1682
|
+
},
|
|
1683
|
+
],
|
|
1684
|
+
};
|
|
1685
|
+
}
|
|
1686
|
+
const lines = data.filings
|
|
1687
|
+
.map((f, i) => `${i + 1}. ${f.form} on ${f.filing_date}\n ${f.primary_doc_description}\n ${f.primary_doc_url}`)
|
|
1688
|
+
.join('\n\n');
|
|
1689
|
+
return {
|
|
1690
|
+
content: [
|
|
1691
|
+
{
|
|
1692
|
+
type: 'text',
|
|
1693
|
+
text: `${ticker.toUpperCase()} recent SEC filings (captured ${data.capturedAt ?? 'unknown'}, ${data.filings_count} returned):\n\n${lines}`,
|
|
1694
|
+
},
|
|
1695
|
+
],
|
|
1696
|
+
};
|
|
1697
|
+
});
|
|
1698
|
+
// ── Tool: premium_ai_company (1 credit) ─────────────────────────────
|
|
1699
|
+
registerTool('premium_ai_company', 'Get the per-ticker AI intelligence envelope for one AI bellwether: latest 10 SEC filings, latest 10 AI-tagged news mentions filtered by curated aliases, strategic and equity funding rounds where the company is a lead or notable investor, and cohort metadata. One call replaces four free siblings (sec/filings, news, funding, cohort) plus the agent-side alias filter. Costs 1 credit ($0.02). Strict-premium; ticker must be in the cohort.', {
|
|
1700
|
+
ticker: z.string().describe('AI bellwether ticker (case-insensitive). One of NVDA, AMD, AVGO, TSM, ARM, MSFT, GOOGL, AMZN, ORCL, PLTR, SMCI, AAPL, META, TSLA.'),
|
|
1701
|
+
}, async ({ ticker }) => {
|
|
1702
|
+
const upper = ticker.toUpperCase();
|
|
1703
|
+
const data = (await fetchJSON(`/premium/ai-companies/${upper}`, { auth: true }));
|
|
1704
|
+
const filingsList = data.filings.items
|
|
1705
|
+
.slice(0, 10)
|
|
1706
|
+
.map((f, i) => ` ${i + 1}. ${f.form} on ${f.filing_date}: ${f.primary_doc_description}`)
|
|
1707
|
+
.join('\n');
|
|
1708
|
+
const newsList = data.news.items
|
|
1709
|
+
.slice(0, 10)
|
|
1710
|
+
.map((n, i) => ` ${i + 1}. ${n.title}\n ${n.source} (${n.publishedAt})`)
|
|
1711
|
+
.join('\n\n');
|
|
1712
|
+
const fundingList = data.funding_as_investor.items
|
|
1713
|
+
.map((r, i) => ` ${i + 1}. ${r.company} ${r.stage}, $${r.amountM}M, ${r.announcedDate}`)
|
|
1714
|
+
.join('\n');
|
|
1715
|
+
const billing = data.billing
|
|
1716
|
+
? `\n\nCharged ${data.billing.credits_charged} credit. Remaining: ${data.billing.credits_remaining ?? '?'}.`
|
|
1717
|
+
: '';
|
|
1718
|
+
return {
|
|
1719
|
+
content: [
|
|
1720
|
+
{
|
|
1721
|
+
type: 'text',
|
|
1722
|
+
text: `${data.ticker} (${data.company.display_name}, ${data.company.exchange}, ${data.company.category})\nAI angle: ${data.company.ai_angle}\nCaptured: ${data.capturedAt}\n\nRecent SEC filings (${data.filings.count}):\n${filingsList || ' none'}\n\nAI news mentions (${data.news.count}, aliases: ${data.news.aliases_used.join(', ')}):\n${newsList || ' none'}\n\nFunding rounds as lead or notable investor (${data.funding_as_investor.count}):\n${fundingList || ' none'}${billing}`,
|
|
1723
|
+
},
|
|
1724
|
+
],
|
|
1725
|
+
};
|
|
1726
|
+
});
|
|
1668
1727
|
// ── Start ───────────────────────────────────────────────────────────
|
|
1669
1728
|
async function main() {
|
|
1670
1729
|
const transport = new StdioServerTransport();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tensorfeed/mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.0",
|
|
4
4
|
"mcpName": "ai.tensorfeed/mcp-server",
|
|
5
5
|
"description": "MCP server for TensorFeed.ai - AI news, status, model data, and premium endpoints (routing, cost projection, forecast, history series, news search, webhook watches with digest tier, enriched directory) for AI agents",
|
|
6
6
|
"main": "dist/index.js",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "ai.tensorfeed/mcp-server",
|
|
4
4
|
"title": "TensorFeed",
|
|
5
5
|
"description": "AI news, model pricing, service status, and machine-payable premium tools. AFTA-certified.",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.35.0",
|
|
7
7
|
"websiteUrl": "https://tensorfeed.ai/developers/agent-payments",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/RipperMercs/tensorfeed-mcp",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"registryType": "npm",
|
|
21
21
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
22
22
|
"identifier": "@tensorfeed/mcp-server",
|
|
23
|
-
"version": "1.
|
|
23
|
+
"version": "1.35.0",
|
|
24
24
|
"runtimeHint": "npx",
|
|
25
25
|
"transport": {
|
|
26
26
|
"type": "stdio"
|
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
"status_leaderboard_free",
|
|
69
69
|
"get_ai_cves_latest",
|
|
70
70
|
"get_ai_cves_feed",
|
|
71
|
-
"get_ai_cves_stats"
|
|
71
|
+
"get_ai_cves_stats",
|
|
72
|
+
"get_ai_company_filings"
|
|
72
73
|
],
|
|
73
74
|
"premiumTools": [
|
|
74
75
|
"premium_routing",
|
|
@@ -91,7 +92,8 @@
|
|
|
91
92
|
"create_leaderboard_rank_watch",
|
|
92
93
|
"delete_watch",
|
|
93
94
|
"get_account_balance",
|
|
94
|
-
"get_account_usage"
|
|
95
|
+
"get_account_usage",
|
|
96
|
+
"premium_ai_company"
|
|
95
97
|
]
|
|
96
98
|
}
|
|
97
99
|
}
|