AuraStream

io.github.UnbiasedAlpha由 GitHub 账号 UnbiasedAlpha 发布v0.1.7更新于 Oct 29, 2026

Historical market, macro, positioning and alt data from 45 sources through one API.

发布方自己的服务:Stream Estate

概览

AI 生成的概览

AuraStream MCP 通过一个 API 获取 45 个以上来源的历史行情、宏观、持仓与另类数据,让助手直接取用并比较时间序列。

可以做什么
  • 列出可用数据源及其资产类别、代码格式、间隔和支持的数据类型,并显示所需凭证是否已配置
  • 按日期区间获取多个标的的历史时间序列,可指定来源、间隔、数据类型和来源专属参数
  • 不指定日期,直接取每个标的最近若干根 K 线
  • 覆盖加密交易所行情与资金费率、股票、外汇、期货、宏观发布、美联储文本、CFTC 持仓、SEC 文件、贸易流、天气与出行数据
适用场景
适合让助手回答量化行情或宏观问题,例如比较回撤、查看对冲基金持仓、拉取 FRED 序列或内部人交易,而无需为每个数据商单独写 API 代码。
运行要求
需本地 Python 3.10+ 环境(pip 或 uvx 安装),或使用官方托管的 HTTP 端点。每次调用都需要 AURASTREAM_API_KEY;可选的数据商密钥(如 FRED_API_KEY、NEMETON_API_KEY、OANDA_TOKEN、ALPACA_API_KEY、POLYGON_API_KEY、EIA_API_KEY、BEA_API_KEY、CENSUS_API_KEY、COINAPI_KEY、COINGECKO_API_KEY、TRADINGECONOMICS_API_KEY、NASDAQ_DATA_LINK_API_KEY、VISUALCROSSING_API_KEY 及 EDGAR_USER_AGENT)用于解锁对应来源。需要网络访问。
安装前请注意
每次取数都计入 AuraStream 月度额度(免费版每月 500 次调用,约每秒 1 次请求)。密钥只从环境变量读取,不作为工具参数传递。自建 HTTP 模式下,客户端未提供密钥时服务器会回退使用 AURASTREAM_API_KEY,任何知道该 URL 的人都能消耗你的额度并使用你的数据商凭证;把密钥放在 URL 查询参数中,看到该 URL 的人即可使用。数据为历史数据而非实时行情,部分来源发布存在滞后。

安装

在 SourceWeft 中

  1. 打开 控制台中的 AuraStream,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

aurastream-mcp

An MCP server for AuraStream, the unified historical data API. It lets Claude Desktop, Claude Code, ChatGPT and other MCP clients pull OHLCV bars (and, for some sources, funding rates, trades, quotes, order books and earnings) from crypto exchanges, Yahoo Finance, Oanda, Alpaca, Polygon and others, plus macro, positioning and trade-flow data such as FRED, CFTC Commitments of Traders, SEC insider trades, earnings filings, planned insider sales, 8-K events, fails-to-deliver, 13D/13G stakes, 13F and mutual fund/ETF holdings and votes, the US economic release calendar, UK/EU/US/Hong Kong metals trade, TSA travel numbers, historical weather and degree days, US retail sales and consumer spending (PCE), USDA crop projections (WASDE), EU short positions, WARN layoff notices, federal contract spending and Fed statements, minutes and speeches, plus Unbiased Alpha's own derived datasets (crypto crowding, Fed tone, 8-K risk flags, insider conviction, fund flows, federal contracts and layoffs per company, energy and crop surprises): all 46 AuraStream sources through one tool.

Ask "plot BTC daily closes for Q1 from Binance", "compare SPY and QQQ drawdowns this year" or "how have hedge funds positioned in gold futures since 2020?" and the model calls AuraStream for the data.

Tools

ToolWhat it does
list_sources()Sources, asset classes, ticker formats, intervals, supported dtypes and source-specific parameters, and whether provider credentials are needed and configured. No API call.
get_timeseries(source, tickers, start, end, interval="1d", dtype="bars", price_type=None, instrument=None, continuous_contracts=None, ticktype=None, assetclass=None, category=None, feed=None, adjustment=None, indicator=None, dataset=None, report=None, options=None, as_of=None, concepts=None, period=None, mode=None, reporter=None, metric=None, level=None, db=None, filters=None, assetcol=None, index=None, variables=None, timezone=None, unit_group=None, vs_currency=None, sessiontemplate=None, closed_only=None, bartype=None, max_rows=100)Calls POST /timeseries. Returns one CSV block per ticker (timestamp,Open,High,Low,Close,Volume for market bars, the source's own fields otherwise), capped at the most recent max_rows rows (max 1000) with the total row count noted.
get_latest(source, tickers, interval="1d", bars=10)The most recent N bars per ticker, without picking dates.

Each get_timeseries / get_latest call is one AuraStream API call.

Sources exposed:

GroupSources
Cryptobinance, bybit, kraken, deribit, kucoin, dydx, hyperliquid, lyra (Derive); with your own key: coinapi; with a Nemeton subscription: nemeton (order book signals) and signals (crypto crowding, Fed tone, 8-K flags, insider conviction, fund flows, federal contracts, layoffs, energy and crop surprises)
Equities, FX, futures, CFDsyahoo; with your own account: oanda, alpaca, polygon, firstrate, tradestation, cityindex
Macro and energytreasury, worldbank, sdmx (BIS, ECB, IMF, OECD...), econcalendar (US release times), fedtext (FOMC statements, minutes, Fed speeches), wasde (USDA crop projections); with a free key: fred, eia, bea (PCE, income, GDP); with your own key: tradingeconomics, nasdaq
Fundamentalsedgar (insider trades, reported financials, earnings filings, planned sales (144), 8-K events, fails-to-deliver, 13D/13G stakes, 13F holdings, fund and ETF holdings (N-PORT) and votes (N-PX)), usaspending (federal contracts by company), warn (layoff notices); with your own key: finnhub
Positioning and flowscftc (Commitments of Traders), netshort (EU short positions), hmrc, comext, hktrade; with a free key: uscensus
Crypto fundamentals and newsdefillama, gdelt; with a free key: coingecko
Weather and travelopenmeteo, degreedays (heating and cooling degree days), tsa (daily air travelers); with your own key: visualcrossing

Dates are YYYY-MM-DD. Intervals follow the API: upper-case M is minutes, lower-case m is months (15M = 15 minutes, 1m = one month). The server checks intervals, dtypes and parameters against each source's documented values before calling the API.

Install

Requires Python 3.10+.

bash
pip install aurastream-mcp

Or run it without installing, with uv: uvx aurastream-mcp.

This installs an aurastream-mcp command. Check it with aurastream-mcp --help.

Configuration

All secrets come from environment variables. Provider credentials are never tool arguments, so they never pass through the chat or the model.

VariableNeeded for
AURASTREAM_API_KEYEverything. Get a free key from the dashboard.
OANDA_ACCOUNT_ID, OANDA_TOKENoanda
OANDA_ENVIRONMENToanda, optional: practice (default) or live
ALPACA_API_KEY, ALPACA_SECRET_KEYalpaca
POLYGON_API_KEYpolygon
FRED_API_KEYfred
FINNHUB_API_KEYfinnhub
FIRSTRATE_USER_IDfirstrate: the user ID FirstRate Data gives you for API downloads
EIA_API_KEYeia (free at eia.gov)
CENSUS_API_KEYuscensus: trade and retail sales (free at census.gov)
BEA_API_KEYbea (free at apps.bea.gov)
EDGAR_USER_AGENTedgar and econcalendar (BLS): your name and contact email, e.g. Your Company [email protected]. The SEC requires it; no registration.
NEMETON_API_KEYnemeton: the key from your Nemeton subscription
COINAPI_KEYcoinapi
COINGECKO_API_KEY or COINGECKO_DEMO_API_KEYcoingecko: a Pro key, or a free Demo key (last 365 days only)
NASDAQ_DATA_LINK_API_KEYnasdaq
TRADINGECONOMICS_API_KEYtradingeconomics
TRADESTATION_CLIENT_ID, TRADESTATION_CLIENT_SECRET, TRADESTATION_REFRESH_TOKENtradestation
CITYINDEX_USERNAME, CITYINDEX_PASSWORD, CITYINDEX_APP_KEYcityindex
VISUALCROSSING_API_KEYvisualcrossing
OPENMETEO_API_KEYopenmeteo, optional: sent when set

Weather sources take locations as latitude,longitude tickers, e.g. 48.85,2.35.

Set only the ones you use. list_sources tells the model which sources are configured.

Claude Desktop

Edit claude_desktop_config.json (Settings > Developer > Edit Config):

json
{  "mcpServers": {    "aurastream": {      "command": "aurastream-mcp",      "env": {        "AURASTREAM_API_KEY": "your-aurastream-key",        "OANDA_ACCOUNT_ID": "101-004-12345678-001",        "OANDA_TOKEN": "your-oanda-token"      }    }  }}

If Claude Desktop can't find the command, use the full path (e.g. C:\\Users\\you\\venv\\Scripts\\aurastream-mcp.exe or /Users/you/venv/bin/aurastream-mcp). Restart Claude Desktop afterwards.

Claude Code

bash
claude mcp add aurastream -e AURASTREAM_API_KEY=your-aurastream-key -- aurastream-mcp

Add -e FRED_API_KEY=... etc. for credentialed sources, and --scope user to make it available in every project.

Hosted server (no install)

Unbiased Alpha runs a shared copy at https://aurastream.unbiased-alpha.com/mcp. Point any client that supports remote MCP servers at it and send your own AuraStream key:

  • as a header: x-api-key: <key> or Authorization: Bearer <key>, or
  • in the URL, for clients that cannot set headers (ChatGPT): https://aurastream.unbiased-alpha.com/mcp?api_key=<key>. Anyone who sees that URL can use your key, so treat it like the key itself.

Claude Code:

bash
claude mcp add --transport http aurastream https://aurastream.unbiased-alpha.com/mcp --header "x-api-key: your-key"

The hosted server holds no provider keys, so sources that need your own provider account (FRED, Polygon, Nemeton and the others in the table above) only work with a local install. Every source that needs no provider key works.

ChatGPT (remote connector)

The quickest route is the hosted server above: add https://aurastream.unbiased-alpha.com/mcp?api_key=<your key> as a connector (Settings > Connectors, developer mode). To run your own instead:

ChatGPT only talks to remote MCP servers over HTTPS, so run the server in HTTP mode somewhere reachable and register the URL as a connector.

bash
AURASTREAM_API_KEY=your-key aurastream-mcp --http --host 127.0.0.1 --port 8000# endpoint: http://127.0.0.1:8000/mcp

Put it behind something that gives you a public HTTPS URL (a reverse proxy with TLS, or a tunnel such as Cloudflare Tunnel or ngrok), then tell the server which public host name to accept:

bash
aurastream-mcp --http --port 8000 --allowed-host mcp.example.com

and add https://mcp.example.com/mcp in ChatGPT. Requests with any other Host header are rejected (DNS-rebinding protection).

How the API key works in HTTP mode. If the client sends x-api-key: <key>, Authorization: Bearer <key> or ?api_key=<key> in the URL, that key is used. Otherwise the server falls back to AURASTREAM_API_KEY. The fallback is what makes ChatGPT work today, but it also means anyone who knows the URL spends your allowance and uses your provider credentials. Treat the HTTP mode as single-user self-hosting: keep the URL private, or put it behind your own auth. Start with --require-client-key to disable the fallback when each user brings their own key. Provider credentials always come from the server's environment.

Other options

aurastream-mcp [--http] [--host HOST] [--port PORT] [--path /mcp]               [--allowed-host HOST ...] [--require-client-key] [--json-response]

AURASTREAM_API_URL overrides the endpoint (useful for testing).

Example prompts

  • "What sources does AuraStream have for forex?"
  • "Get daily BTCUSDT and ETHUSDT from Binance for 2025 and compute their 30-day rolling correlation."
  • "Show the last 20 hourly bars of EUR_USD from Oanda."
  • "Pull UNRATE and DFF from FRED since 2015 and describe how they moved together."
  • "Show Binance BTCUSDT perpetual funding rates for June 2025."
  • "How has managed-money positioning in gold futures (CFTC) changed since 2020?"
  • "Which AAPL insiders bought or sold shares in 2024?"
  • "Show monthly UK gold exports to Switzerland since 2020."
  • "Fetch SPY and QQQ daily from Yahoo for the last 6 months and compare max drawdowns."

Limits

  • Historical data, not a real-time feed. The last bar may still be forming.
  • Every data call counts against your monthly AuraStream allowance (free plan: 500 calls/month). When it runs out the tool says so; it resets on the 1st at 00:00 UTC. The free plan also allows about 1 request per second.
  • Results are capped per ticker (default 100 rows, max 1000) to keep the model's context manageable. For long, fine-grained histories use the REST API or the Python client directly.
  • The API times out after 120 seconds; split very large requests.
  • Interval support varies by source (see the docs).

Known issues

  • Non-bar data (funding, order and position books, trades, quotes, earnings, Finnhub financials and the macro, positioning and trade sources) is rendered generically as a table.
  • Several sources are stamped at the period they describe but published later (EIA, EDGAR fails-to-deliver, the trade sources). list_sources notes the lag; shift the data before backtesting.
  • GDELT search queries are throttled by GDELT itself; keep ranges short. dataset="themes" is not throttled.

Directories

Also listed on mcprush, with its security scan:

[AuraStream MCP server]

Development

bash
python -m venv .venv.venv/Scripts/activate        # or: source .venv/bin/activatepip install -e ".[test]"pytest

The tests mock all HTTP calls; no API key is needed.

License

MIT. See LICENSE.

来源:README.md,提交 2337bdb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.1.7最新Oct 29, 2026
  2. v0.1.6Oct 26, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Stream 集成