SiftingIO market-data MCP server

SiftingIO market-data MCP server

siftingio-mcp-python•bysiftingio

A Python MCP server that gives AI assistants access to SiftingIO market data, including prices, SEC fundamentals, OHLCV bars, 13F holdings, market status, and the macro calendar.

License: MIT•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Exposes 36 tools spanning live snapshots, stocks, crypto and forex bars, DEX wallets, markets, filers, macro, and WebSocket streaming.
  • •Runs over stdio by default, and offers a Streamable HTTP transport with per-client sessions and optional bearer-token auth.
  • •Keeps a persistent WebSocket open to buffer streaming frames, supporting subscribe-and-poll or one-shot collect workflows.
  • •Provides guided multi-tool prompts such as company snapshots, company comparisons, and current market status.

BEST FOR

  • •AI assistants that need live prices, SEC fundamentals, and market status in context.
  • •Users wanting ongoing crypto, forex, DEX, or US stock streaming inside an MCP client.
  • •Comparing multiple companies side by side across key ratios.

ABOUT SIFTINGIO-MCP-PYTHON

SiftingIO market-data MCP server is cataloged as an MCP server attributed to siftingio. A Python MCP server that gives AI assistants access to SiftingIO market data, including prices, SEC fundamentals, OHLCV bars, 13F holdings, market status, and the macro calendar. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for SiftingIO market-data MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What data can the server access?

It covers live prices, SEC/EDGAR fundamentals, OHLCV bars, 13F holdings, market status, and the macro economic calendar.

Which transports does it support?

It runs over stdio by default and can also run over Streamable HTTP.

How does live streaming work?

It keeps one persistent WebSocket open, buffers incoming frames, and lets tools read that buffer, either by subscribing and polling or by collecting a short batch.

Upstream README

View this exact version on GitHub

README.md · 60ff737452b5 · Fetched 2026-11-13 12:49:58 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

siftingio-mcp (Python)

siftingio-mcp-python MCP server

A Model Context Protocol (MCP) server that exposes the SiftingIO market-data SDK (siftingio) to your AI assistant. With it running, the model can pull live prices, read SEC/EDGAR fundamentals, fetch OHLCV bars, look up 13F holdings, check market status, and scan the macro economic calendar.

It's a Python port of siftingio-mcp (the TypeScript server), built on FastMCP.

Setup

Requires Python 3.13+.

python -m venv .venv && source .venv/bin/activate
pip install -e .

You'll need an API key from https://sifting.io:

export SIFTING_API_KEY=sft_...

To point at a different backend, override the defaults with SIFTING_BASE_URL and SIFTING_WS_URL.

For local development, copy .env.example to .env and load it however you like (e.g. set -a; . ./.env; set +a, or direnv). When you wire this into a real MCP client, pass the key through the server's env block instead of a file — there's an example below.

Run

The commands:

  • siftingio-mcp — run the server over stdio (the default transport).
  • siftingio-mcp-http — run it over Streamable HTTP.
  • python -m siftingio_mcp — same as siftingio-mcp, without the console script.
  • pytest — run the tests.
  • ruff check / ruff format — lint and format.
  • mypy — type-check.

CI (.github/workflows/ci.yml) runs the same steps on every push and PR: format check, lint, typecheck, test.

Note that the server speaks JSON-RPC over stdio, so stdout is reserved for the protocol. Diagnostics go to stderr.

Inspect interactively

The MCP inspector is the easiest way to try the server by hand:

SIFTING_API_KEY=sft_... npx @modelcontextprotocol/inspector siftingio-mcp

HTTP (Streamable HTTP) transport

For a remote or hosted deployment, use MCP's Streamable HTTP transport instead of stdio:

SIFTING_API_KEY=sft_... PORT=3000 siftingio-mcp-http
# → MCP endpoint at http://127.0.0.1:3000/mcp  (POST messages, GET SSE, DELETE session)

It's stateful: each client gets its own session (tracked by the mcp-session-id header), while the upstream SiftingIO connection is shared across the process. It only binds to loopback and rejects non-local browser Origins for DNS-rebinding protection. Set the port with PORT (or MCP_HTTP_PORT); the default is 3000.

For auth, set MCP_AUTH_TOKEN and the server will require Authorization: Bearer <token> on every request (a missing or wrong token gets a 401). Put a reverse proxy in front to handle TLS and the token, and you can expose the server past localhost:

MCP_AUTH_TOKEN=s3cret SIFTING_API_KEY=sft_... siftingio-mcp-http

Then point any HTTP-capable MCP client at http://127.0.0.1:3000/mcp:

claude mcp add --transport http siftingio http://127.0.0.1:3000/mcp

Use with an MCP client

Add this to your client config — Claude Desktop's claude_desktop_config.json, for example, or use claude mcp add on Claude Code:

{
  "mcpServers": {
    "siftingio": {
      "command": "siftingio-mcp",
      "env": { "SIFTING_API_KEY": "sft_..." }
    }
  }
}

If siftingio-mcp isn't on the client's PATH, use the absolute path to the console script (/path/to/.venv/bin/siftingio-mcp) or python -m siftingio_mcp.

Tools

The server exposes 36 tools:

NamespaceTools
Live (snapshot)last_trade, last_quote, last_tvl
Stocksstocks_search, stocks_profile, stocks_filings, stocks_filing, stocks_sections, stocks_section, stocks_risk_factors_diff, stocks_ratios, stocks_earnings, stocks_financials, stocks_financial_concept, stocks_insiders, stocks_ownership, stocks_events, stocks_compensation, stocks_screener, stocks_bars
Crypto / Forexcrypto_bars, forex_bars
DEXdex_wallet
Marketsmarkets_list, markets_status_all, markets_status, markets_hours, markets_calendar
Filersfilers_holdings
Macroeconomic_calendar_list
Live (stream)ws_subscribe, ws_unsubscribe, ws_poll, ws_collect, ws_status, ws_disconnect

A few patterns to know about:

Paginated tools take cursor/limit and return a meta.next_cursor to fetch the next page. The stocks_* list tools — stocks_filings, stocks_earnings, stocks_insiders, stocks_ownership, stocks_events, stocks_compensation — also accept max_items: set it and they auto-paginate, gathering up to that many items across pages in one call.

The high-traffic tools (last_trade, last_quote, last_tvl, stocks_profile, stocks_search) have an output schema and return structuredContent alongside the human-readable text, so clients can read them machine-side too.

Every tool also carries MCP annotations. The data tools are readOnlyHint: true (and openWorldHint: true, since they reach an external API), while the WebSocket tools that change connection state are readOnlyHint: false, destructiveHint: false.

Results are size-capped at roughly 60k characters (see MAX_RESULT_CHARS in siftingio_mcp/util.py). When a heavy endpoint — full XBRL financials, screeners, OHLCV bars — returns more than that, the server trims its largest array and adds a _truncated note explaining how to narrow the query.

Note on from/to: since from is a reserved word in Python, the date lower-bound input field is named from_ (matching the SiftingIO SDK's own convention). to is unchanged.

Live WebSocket streaming

Streaming doesn't fit a single request/response, so the server keeps one persistent WebSocket open, buffers frames as they arrive, and the tools read from that buffer. Channels (the product field) are cex (crypto), dex (DEX trades), fx (forex), us (US stocks), and tvl (DEX pool TVL).

There are two ways to use it:

  • Subscribe + poll, for ongoing streams: call ws_subscribe once, then keep calling ws_poll. The first poll returns a recent tail; feed the returned next_seq back in as after_seq to get only newer frames after that. ws_status shows the connection and current subscriptions, and ws_disconnect shuts it down.
  • Collect, for a quick one-shot: ws_collect subscribes, waits up to duration_ms (or until it has seen max frames), returns what it caught, and cleans up any subscription it created. Good for grabbing a few seconds of BTCUSD.

The connection reconnects on its own and replays your subscriptions when it does. The buffer is a rolling window, so the oldest frames eventually fall off; when they do, you'll see it reported through dropped/gap.

Prompts

These are guided, multi-tool workflows your client can surface as slash-commands:

  • company_snapshot (ticker) — pulls stocks_profile, stocks_ratios, the latest stocks_filings, and last_trade into one briefing.
  • compare_companies (tickers) — lines up several tickers side by side across the key ratios.
  • market_now — what's open and closed right now, plus the high-impact macro events coming up.

Logging & shutdown

The server logs structured records about the connection (WebSocket open/close/reconnect/error) and shutdown to stderr (stdout is reserved for the protocol on the stdio transport).

On SIGINT or SIGTERM, it closes the live WebSocket and shuts down cleanly before exiting.

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for SiftingIO market-data MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/siftingio-mcp-python)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics