AlphaFactoryX
Financial data for US equity research via MCP (Model Context Protocol). Covers SEC EDGAR filings, Seeking Alpha articles/ratings/financials, Stock News sentiment, Polygon News AI insights, X/Twitter sentiment, FRED macro indicators, and OHLCV price data for ~2000 US equities.
Getting Your MCP Token
Register for a free token (instant, no approval needed) at http://ictree.com — click "GET FREE API KEY".
Or register via API:
POST http://data.ictree.com/api/register
Content-Type: application/json
{"name":"Your Name","email":"you@example.com"}
The response contains your token. Set it as an environment variable:
export ALPHAFACTORYX_MCP_TOKEN="your_token_here"
MCP Server Configuration
Add the AlphaFactoryX MCP server to your openclaw.json (or Claude Code claude_desktop_config.json):
{
"mcpServers": {
"alphafactoryx": {
"type": "streamable-http",
"url": "http://mcp.ictree.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}
Replace YOUR_TOKEN with your ALPHAFACTORYX_MCP_TOKEN value. Once configured, you have access to 18 financial data tools prefixed with mcp__alphafactoryx__.
How to Use
Call MCP tools directly by name. No curl, no URL construction, no ?format=text. Parameters have schema validation.
Check data coverage:
mcp__alphafactoryx__get_archive_stats()
Get SEC filings for a stock:
mcp__alphafactoryx__edgar_overview(symbol="AAPL")
Search across all SEC filings:
mcp__alphafactoryx__edgar_search(query="revenue guidance", symbol="AAPL")
Get macro data:
mcp__alphafactoryx__fred_macro()
MCP Tool Reference
18 tools available:
Overview
| Tool |
Parameters |
Description |
get_archive_stats |
(none) |
Database statistics: article/filing counts, symbol counts, date ranges |
SEC EDGAR
| Tool |
Parameters |
Description |
edgar_overview |
symbol |
List all filings grouped by form type (10-K, 10-Q, 8-K, Form 4) |
edgar_filing |
symbol, form_type, accession |
Full text of a specific filing by accession number (50K char limit) |
edgar_search |
query, symbol?, form? |
Full-text search across filings (up to 25 results) |
edgar_latest |
symbol, form_type |
Most recent filing of a given form type (50K char limit) |
Seeking Alpha
| Tool |
Parameters |
Description |
sa_overview |
symbol |
Overview: summary, ratings, financials, recent articles |
sa_article |
symbol, article_id |
Full article text (10K char limit) |
sa_search |
query, symbol? |
Full-text search across articles (up to 25 results) |
sa_transcript |
symbol, transcript_id |
Earnings call transcript full text (30K char limit) |
sa_financials |
symbol |
Financials + dividends + estimates + peer companies |
sa_transcript_search |
query, symbol? |
Full-text search across earnings call transcripts (up to 25 results) |
News & Sentiment
| Tool |
Parameters |
Description |
stocknews_articles |
symbol, limit? (default 20) |
Recent news with multi-engine AI sentiment (Grok, DeepSeek, GPT-5) |
stocknews_search |
query, symbol? |
Full-text search across news articles |
polygon_news_articles |
symbol, limit? (default 20) |
Polygon news with per-ticker AI sentiment insights and reasoning |
polygon_news_search |
query, symbol? |
Full-text search across Polygon news |
x_sentiment |
symbol, limit? (default 20), sort? (views/date/favorites) |
X/Twitter tweets sorted by engagement (max 50) |
Macro & Price
| Tool |
Parameters |
Description |
fred_macro |
series_id? |
Without series_id: all 25 latest macro indicators. With series_id: time series (60 points) |
kline |
symbol, timeframe? (daily/hourly/1min), limit? (default 60, max 200) |
OHLCV price bars |
Parameters marked with ? are optional.
Research Workflows
Individual Stock Research
get_archive_stats -- check data coverage
edgar_overview(symbol="AAPL") -- SEC filings list
edgar_latest(symbol="AAPL", form_type="10-K") -- latest annual report
sa_overview(symbol="AAPL") -- analyst ratings and financials
stocknews_articles(symbol="AAPL") + polygon_news_articles(symbol="AAPL") -- news sentiment
kline(symbol="AAPL") -- price chart
Sentiment Analysis
stocknews_articles(symbol="AAPL") -- multi-engine AI sentiment (Grok, DeepSeek, GPT-5)
polygon_news_articles(symbol="AAPL") -- per-ticker AI sentiment insights + reasoning
x_sentiment(symbol="AAPL") -- social media sentiment
- Cross-reference multiple sources for higher confidence
Macro Analysis
fred_macro() -- all 25 latest indicators (rates, CPI, employment, GDP, VIX)
fred_macro(series_id="FEDFUNDS") -- specific indicator time series
- Combine macro context with stock-level data for top-down analysis
Deep Search
edgar_search(query="revenue guidance", symbol="AAPL") -- search SEC filings
sa_search(query="AI chips") -- search Seeking Alpha articles
sa_transcript_search(query="margin expansion") -- search earnings calls
stocknews_search(query="tariff") -- search news
polygon_news_search(query="FDA approval") -- search Polygon news
Rate Limits
| Limit |
Value |
| Daily requests |
500 per token |
| Per-second requests |
2 per token |
Exceeding limits returns an error response with details. Contact support for higher limits.
Error Handling
MCP tool errors return descriptive text messages:
| Error |
Meaning |
Action |
| "No EDGAR filings found for {symbol}" |
Symbol not in database |
Check symbol spelling; use get_archive_stats for coverage |
| "No data available" |
Empty result |
Data may not be archived yet for this symbol |
| Authentication error |
Invalid or missing token |
Check ALPHAFACTORYX_MCP_TOKEN and MCP server config |
| Rate limit error |
Too many requests |
Wait and retry; stay within 500/day, 2/sec |
Best Practices
- Start with
get_archive_stats to understand data coverage before querying specific symbols
- Cross-reference multiple sources -- combine EDGAR, SA, news, and price data for comprehensive analysis
- Use search tools for discovery -- find content across the entire archive by keyword
- Check sentiment from multiple engines -- Stock News includes Grok, DeepSeek, and GPT-5
- Macro context first -- check
fred_macro() before stock-level analysis
- Use
edgar_latest for quick reads -- gets the most recent filing without needing an accession number
Data Coverage
- ~2,000 US equities (stocks + ETFs)
- SEC EDGAR: 10-K, 10-Q, 8-K filings and Form 4 insider trades (full text)
- Seeking Alpha: articles, earnings call transcripts, ratings, financials, dividends, estimates
- Stock News: articles with Grok + DeepSeek + GPT-5 sentiment
- Polygon News: articles with per-ticker AI sentiment insights and reasoning
- X/Twitter: tweets with engagement metrics for ~50 top stocks
- FRED: 25 macro series (Fed Funds, CPI, GDP, unemployment, VIX, yield curve, etc.)
- OHLCV: daily, hourly, 1-minute bars + 6 futures (ES, NQ, YM, RTY, GC, CL)
1---2name: alphafactoryx3description: Financial data API for US equity research: SEC EDGAR filings, Seeking Alpha articles/ratings/financials, Stock News sentiment, Polygon News AI insights, X/Twitter sentiment, FRED macro indicators, and OHLCV price data for ~2000 stocks.4---56# AlphaFactoryX78Financial data for US equity research via MCP (Model Context Protocol). Covers SEC EDGAR filings, Seeking Alpha articles/ratings/financials, Stock News sentiment, Polygon News AI insights, X/Twitter sentiment, FRED macro indicators, and OHLCV price data for ~2000 US equities.910## Getting Your MCP Token1112Register for a free token (instant, no approval needed) at http://ictree.com — click "GET FREE API KEY".1314Or register via API:1516```17POST http://data.ictree.com/api/register18Content-Type: application/json19{"name":"Your Name","email":"you@example.com"}20```2122The response contains your token. Set it as an environment variable:2324```25export ALPHAFACTORYX_MCP_TOKEN="your_token_here"26```2728## MCP Server Configuration2930Add the AlphaFactoryX MCP server to your `openclaw.json` (or Claude Code `claude_desktop_config.json`):3132```json33{34 "mcpServers": {35 "alphafactoryx": {36 "type": "streamable-http",37 "url": "http://mcp.ictree.com/mcp",38 "headers": {39 "Authorization": "Bearer YOUR_TOKEN"40 }41 }42 }43}44```4546Replace `YOUR_TOKEN` with your `ALPHAFACTORYX_MCP_TOKEN` value. Once configured, you have access to 18 financial data tools prefixed with `mcp__alphafactoryx__`.4748## How to Use4950Call MCP tools directly by name. No curl, no URL construction, no `?format=text`. Parameters have schema validation.5152**Check data coverage:**53```54mcp__alphafactoryx__get_archive_stats()55```5657**Get SEC filings for a stock:**58```59mcp__alphafactoryx__edgar_overview(symbol="AAPL")60```6162**Search across all SEC filings:**63```64mcp__alphafactoryx__edgar_search(query="revenue guidance", symbol="AAPL")65```6667**Get macro data:**68```69mcp__alphafactoryx__fred_macro()70```7172## MCP Tool Reference737418 tools available:7576### Overview7778| Tool | Parameters | Description |79|------|-----------|-------------|80| `get_archive_stats` | _(none)_ | Database statistics: article/filing counts, symbol counts, date ranges |8182### SEC EDGAR8384| Tool | Parameters | Description |85|------|-----------|-------------|86| `edgar_overview` | `symbol` | List all filings grouped by form type (10-K, 10-Q, 8-K, Form 4) |87| `edgar_filing` | `symbol`, `form_type`, `accession` | Full text of a specific filing by accession number (50K char limit) |88| `edgar_search` | `query`, `symbol?`, `form?` | Full-text search across filings (up to 25 results) |89| `edgar_latest` | `symbol`, `form_type` | Most recent filing of a given form type (50K char limit) |9091### Seeking Alpha9293| Tool | Parameters | Description |94|------|-----------|-------------|95| `sa_overview` | `symbol` | Overview: summary, ratings, financials, recent articles |96| `sa_article` | `symbol`, `article_id` | Full article text (10K char limit) |97| `sa_search` | `query`, `symbol?` | Full-text search across articles (up to 25 results) |98| `sa_transcript` | `symbol`, `transcript_id` | Earnings call transcript full text (30K char limit) |99| `sa_financials` | `symbol` | Financials + dividends + estimates + peer companies |100| `sa_transcript_search` | `query`, `symbol?` | Full-text search across earnings call transcripts (up to 25 results) |101102### News & Sentiment103104| Tool | Parameters | Description |105|------|-----------|-------------|106| `stocknews_articles` | `symbol`, `limit?` (default 20) | Recent news with multi-engine AI sentiment (Grok, DeepSeek, GPT-5) |107| `stocknews_search` | `query`, `symbol?` | Full-text search across news articles |108| `polygon_news_articles` | `symbol`, `limit?` (default 20) | Polygon news with per-ticker AI sentiment insights and reasoning |109| `polygon_news_search` | `query`, `symbol?` | Full-text search across Polygon news |110| `x_sentiment` | `symbol`, `limit?` (default 20), `sort?` (views/date/favorites) | X/Twitter tweets sorted by engagement (max 50) |111112### Macro & Price113114| Tool | Parameters | Description |115|------|-----------|-------------|116| `fred_macro` | `series_id?` | Without series_id: all 25 latest macro indicators. With series_id: time series (60 points) |117| `kline` | `symbol`, `timeframe?` (daily/hourly/1min), `limit?` (default 60, max 200) | OHLCV price bars |118119Parameters marked with `?` are optional.120121## Research Workflows122123### Individual Stock Research1241251. `get_archive_stats` -- check data coverage1262. `edgar_overview(symbol="AAPL")` -- SEC filings list1273. `edgar_latest(symbol="AAPL", form_type="10-K")` -- latest annual report1284. `sa_overview(symbol="AAPL")` -- analyst ratings and financials1295. `stocknews_articles(symbol="AAPL")` + `polygon_news_articles(symbol="AAPL")` -- news sentiment1306. `kline(symbol="AAPL")` -- price chart131132### Sentiment Analysis1331341. `stocknews_articles(symbol="AAPL")` -- multi-engine AI sentiment (Grok, DeepSeek, GPT-5)1352. `polygon_news_articles(symbol="AAPL")` -- per-ticker AI sentiment insights + reasoning1363. `x_sentiment(symbol="AAPL")` -- social media sentiment1374. Cross-reference multiple sources for higher confidence138139### Macro Analysis1401411. `fred_macro()` -- all 25 latest indicators (rates, CPI, employment, GDP, VIX)1422. `fred_macro(series_id="FEDFUNDS")` -- specific indicator time series1433. Combine macro context with stock-level data for top-down analysis144145### Deep Search1461471. `edgar_search(query="revenue guidance", symbol="AAPL")` -- search SEC filings1482. `sa_search(query="AI chips")` -- search Seeking Alpha articles1493. `sa_transcript_search(query="margin expansion")` -- search earnings calls1504. `stocknews_search(query="tariff")` -- search news1515. `polygon_news_search(query="FDA approval")` -- search Polygon news152153## Rate Limits154155| Limit | Value |156|-------|-------|157| Daily requests | 500 per token |158| Per-second requests | 2 per token |159160Exceeding limits returns an error response with details. Contact support for higher limits.161162## Error Handling163164MCP tool errors return descriptive text messages:165166| Error | Meaning | Action |167|-------|---------|--------|168| "No EDGAR filings found for {symbol}" | Symbol not in database | Check symbol spelling; use `get_archive_stats` for coverage |169| "No data available" | Empty result | Data may not be archived yet for this symbol |170| Authentication error | Invalid or missing token | Check `ALPHAFACTORYX_MCP_TOKEN` and MCP server config |171| Rate limit error | Too many requests | Wait and retry; stay within 500/day, 2/sec |172173## Best Practices174175- **Start with `get_archive_stats`** to understand data coverage before querying specific symbols176- **Cross-reference multiple sources** -- combine EDGAR, SA, news, and price data for comprehensive analysis177- **Use search tools for discovery** -- find content across the entire archive by keyword178- **Check sentiment from multiple engines** -- Stock News includes Grok, DeepSeek, and GPT-5179- **Macro context first** -- check `fred_macro()` before stock-level analysis180- **Use `edgar_latest` for quick reads** -- gets the most recent filing without needing an accession number181182## Data Coverage183184- ~2,000 US equities (stocks + ETFs)185- SEC EDGAR: 10-K, 10-Q, 8-K filings and Form 4 insider trades (full text)186- Seeking Alpha: articles, earnings call transcripts, ratings, financials, dividends, estimates187- Stock News: articles with Grok + DeepSeek + GPT-5 sentiment188- Polygon News: articles with per-ticker AI sentiment insights and reasoning189- X/Twitter: tweets with engagement metrics for ~50 top stocks190- FRED: 25 macro series (Fed Funds, CPI, GDP, unemployment, VIX, yield curve, etc.)191- OHLCV: daily, hourly, 1-minute bars + 6 futures (ES, NQ, YM, RTY, GC, CL)