siftingio-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@siftingio-mcp what's the latest trade for AAPL?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
siftingio-mcp
This is a Model Context Protocol (MCP) server
that puts the SiftingIO market-data SDK
(@siftingio/sdk) in reach of your AI assistant. Once it's running, the model can
pull live prices, dig through SEC/EDGAR fundamentals, fetch OHLCV bars, look up 13F
holdings, check market status, and scan the macro economic calendar — all as tools.
Setup
npm install
npm run buildYou'll need an API key, which you can grab at https://sifting.io:
export SIFTING_API_KEY=sft_...If you need to point at a different backend, SIFTING_BASE_URL and SIFTING_WS_URL
are there to override the defaults.
Working locally? Copy .env.example to .env instead — npm run dev and npm start
pick it up automatically (Node does the loading via --env-file-if-exists). When you
wire this into an actual MCP client, though, pass the key through the server's env
block rather than a file (there's an example further down).
Related MCP server: mcp-financex
Run
Here's the toolbox:
npm run build— compile TypeScript intodist/.npm start— run the compiled server (node dist/index.js) over stdio.npm run start:http— run it over Streamable HTTP (node dist/http.js).npm run dev/npm run dev:http— run straight from source withtsx, no build step.npm test— run the vitest suite (addnpm run test:watchto keep it running).npm run lint/npm run format— ESLint (typescript-eslint) and Prettier.npm run typecheck—tsc --noEmit.
On every push and PR, CI (.github/workflows/ci.yml) walks through the same gauntlet:
format check → lint → typecheck → build → test.
One thing worth knowing: the server talks JSON-RPC over stdio, so stdout belongs entirely to the protocol. Anything diagnostic goes to stderr to stay out of the way.
Inspect interactively
Want to poke at it by hand? The MCP inspector is the easiest way:
SIFTING_API_KEY=sft_... npx @modelcontextprotocol/inspector node dist/index.jsHTTP (Streamable HTTP) transport
If you're running this somewhere remote or hosted, use MCP's Streamable HTTP transport instead of stdio:
SIFTING_API_KEY=sft_... PORT=3000 npm run start:http
# → MCP endpoint at http://127.0.0.1:3000/mcp (POST messages, GET SSE, DELETE session)It's stateful: every client gets its own session (tracked by the mcp-session-id
header) and its own McpServer, while the upstream SiftingIO connection is shared
across the whole process. As a safety measure it only binds to loopback and turns
away non-local browser Origins — that's the DNS-rebinding protection. Set the port
with PORT (or MCP_HTTP_PORT); it defaults to 3000.
If you want auth, set MCP_AUTH_TOKEN and the server will demand
Authorization: Bearer <token> on every request (anything missing or wrong gets a
401). Pair that with a reverse proxy handling TLS and the token, and you can safely
expose the server past localhost:
MCP_AUTH_TOKEN=s3cret SIFTING_API_KEY=sft_... npm run start:httpThen just 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/mcpUse with an MCP client
Drop this into your client config — Claude Desktop's claude_desktop_config.json,
say, or use claude mcp add if you're on Claude Code:
{
"mcpServers": {
"siftingio": {
"command": "node",
"args": ["/absolute/path/to/siftingio-mcp/dist/index.js"],
"env": { "SIFTING_API_KEY": "sft_..." }
}
}
}Tools (36)
Namespace | Tools |
Live (snapshot) |
|
Stocks |
|
Crypto / Forex |
|
DEX |
|
Markets |
|
Filers |
|
Macro |
|
Live (stream) |
|
A few patterns are worth calling out:
Paginated tools take cursor/limit and hand back 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
understand max_items: set it and they'll auto-paginate, gathering up to that many
items across pages in a single call.
The high-traffic tools (last_trade, last_quote, last_tvl, stocks_profile,
stocks_search) come with 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 out to the 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
src/util.ts). When a heavy endpoint — full XBRL financials, screeners, OHLCV bars —
returns more than that, the server trims its largest array and tacks on a _truncated
note explaining how to narrow the query.
Live WebSocket streaming
Streaming is the awkward case: it doesn't fit neatly into a single request/response.
So the server holds one persistent WebSocket open, buffers the frames as they
arrive, and the tools just 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 work with it:
Subscribe + poll, for ongoing streams: call
ws_subscribeonce, then keep callingws_poll. The first poll gives you a recent tail; feed the returnednext_seqback in asafter_seqand you'll only get newer frames from then on.ws_statusshows you the connection and what's subscribed, andws_disconnecttears the whole thing down.Collect, for a quick one-shot:
ws_collectsubscribes, waits up toduration_ms(or until it's seenmaxframes), returns what it caught, and cleans up any subscription it had to create. Perfect for "grab me 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 — and when they
do, you'll hear about it through dropped/gap.
Prompts
These are guided, multi-tool workflows your client can surface as slash-commands:
company_snapshot(ticker)— pullsstocks_profile,stocks_ratios, the lateststocks_filings, andlast_tradetogether 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 advertises the MCP logging capability and pushes structured
notifications/message to the client whenever something happens with the connection
(WebSocket open/close/reconnect/error) or on shutdown — and it mirrors all of that to
stderr too.
When it catches a SIGINT or SIGTERM, it closes the live WebSocket and shuts the server down cleanly before exiting.
Available Tools
36 toolscrypto_barsCrypto OHLCV barsARead-only
Fetch historical OHLCV bars for a USD-quoted crypto symbol (e.g. BTCUSD) over a time range at a chosen interval (default 1m); volume is fractional base-asset volume. Large ranges are size-capped (watch for the _truncated note) — narrow the range or paginate with cursor/limit (max 5000/page). For the current price use last_trade.
Inputs: start (required), symbol (required), end, limit, +2 more.
dex_walletDEX wallet portfolioARead-only
Fetch the current token holdings — balances and identified tokens — for a wallet address on an EVM chain (e.g. ethereum, base). Both chain and address are required. For a DEX pair's pooled liquidity use last_tvl.
Inputs: chain (required), address (required).
economic_calendar_listEconomic calendarARead-only
List scheduled and released macroeconomic events (e.g. CPI, non-farm payrolls, rate decisions) over a date range, each with its actual, previous, and consensus figures. Filter by country, impact level, issuing agency, or a specific recurring event_id. Defaults to the US and roughly the next 30 days.
Inputs: to, from, limit, agency, +3 more.
filers_holdings13F holdingsARead-only
List the latest 13F-HR reported equity positions for an institutional investment manager (a fund), identified by CIK or ticker, with share counts and market values. Paginate with cursor/limit. This is holdings held BY the filer; for a single company's insider or large-stakeholder filings use stocks_insiders / stocks_ownership.
Inputs: filer (required), limit, cursor.
forex_barsForex OHLC barsARead-only
Fetch historical OHLC bars for a 6-character FX pair (e.g. EURUSD) over a time range at a chosen interval (default 1m); volume is always 0 for OTC spot forex. Large ranges are size-capped (watch for the _truncated note) — narrow the range or paginate with cursor/limit. For the current rate use last_quote.
Inputs: pair (required), start (required), end, limit, +2 more.
last_quoteLast quoteARead-only
Top-of-book quote — best bid and ask with their sizes — for a symbol on a venue, read live from the engine and never cached. For the last traded price use last_trade instead. Returns structuredContent alongside the text.
Inputs: venue (required), symbol (required). Returns: A, B, a, b, +1 more
last_tradeLast tradeARead-only
Latest trade snapshot (price and size) for a symbol on a venue, read straight from the live engine and never cached. For the best bid/ask instead use last_quote; for historical bars use stocks_bars / crypto_bars / forex_bars. Returns structuredContent alongside the text.
Inputs: venue (required), symbol (required). Returns: P, p, s, t
last_tvlLast DEX TVLARead-only
Current aggregated total value locked (TVL) for a DEX trading pair on an EVM chain, read live. Provide the canonical pair (e.g. WETH-USDC); for a wallet's token balances use dex_wallet. Returns structuredContent alongside the text.
Inputs: pair (required), chain (required). Returns: n, t, v, r0, +4 more
markets_calendarMarket calendarARead-only
List the holidays and half-day (early-close) sessions for a market over a date range (defaults to the next ~90 days, max 730). Use markets_hours for the normal weekly schedule and markets_status for the live open/closed state.
Inputs: market (required), to, from.
markets_hoursMarket hoursARead-only
Return the regular weekly trading-hours schedule (open/close times per weekday, with time zone) for a market by slug. This is the recurring schedule, not today's state — use markets_status for whether it's open right now, and markets_calendar for holidays and half-days.
Inputs: market (required).
markets_listList marketsARead-only
List every market in the catalog — exchanges and asset classes such as nyse, us_equities, forex, crypto — optionally filtered by region. Use it to discover the market slug the other markets_* tools expect.
Inputs: region.
markets_statusMarket statusARead-only
Return the current open/closed status for a single market by slug (e.g. nyse). For a snapshot across all markets use markets_status_all; for the recurring weekly schedule use markets_hours.
Inputs: market (required).
markets_status_allAll market statusesARead-only
Return the current open/closed status for every market at once, optionally filtered by region. Use markets_status when you already know the single market slug you care about.
Inputs: region.
stocks_barsStock OHLCV barsARead-only
Fetch historical OHLCV bars for a US equity over a date/time range at a chosen interval (default 1m). Large ranges are size-capped (watch for the _truncated note) — narrow the window or paginate with cursor/limit. For a live price snapshot use last_trade or last_quote instead.
Inputs: ticker (required), end, limit, start, +2 more.
stocks_compensationCompensation filingsARead-only
List a company's DEF 14A proxy statements, which cover executive compensation and shareholder-vote matters, most recent first. Paginate with cursor/limit, or set max_items to auto-collect across pages.
Inputs: ticker (required), limit, cursor, max_items.
stocks_earningsEarnings historyARead-only
List a company's earnings-release history, sourced from 8-K Item 2.02 filings, most recent first. Paginate with cursor/limit, or set max_items to auto-collect across pages. For all 8-K material events (not just earnings) use stocks_events.
Inputs: ticker (required), limit, cursor, max_items.
stocks_eventsMaterial eventsARead-only
List a company's 8-K material-event filings, optionally filtered to a single item code (e.g. 2.02). Most recent first; paginate with cursor/limit, or set max_items to auto-collect across pages. For earnings releases specifically use stocks_earnings.
Inputs: ticker (required), item, limit, cursor, +1 more.
stocks_filingFiling detailARead-only
Fetch one SEC filing's detail — header metadata plus its list of document files — identified by ticker and accession number. Get accession numbers from stocks_filings; for the filing's extracted narrative text use stocks_sections (all sections) or stocks_section (one section's body).
Inputs: ticker (required), accession (required).
stocks_filingsList filingsARead-only
List a company's SEC EDGAR filings (most recent first), optionally filtered by form type and filed-date range. Paginate with cursor/limit, or set max_items to auto-collect across pages in one call. Returns filing metadata and accession numbers; pass an accession to stocks_filing for its document list, or to stocks_sections / stocks_section for its extracted text.
Inputs: ticker (required), to, form, from, +3 more.
stocks_financial_conceptFinancial concept seriesARead-only
Fetch the full reported time series for one XBRL concept (e.g. Revenues, NetIncomeLoss) for a single company. Use this instead of stocks_financials when you need one line item rather than the whole statement bundle; to screen the same concept across all companies use stocks_screener.
Inputs: ticker (required), concept (required), taxonomy.
stocks_financialsXBRL financialsARead-only
Fetch a company's complete XBRL financials bundle — every reported concept across every period — from its SEC filings. This is a large payload and may be size-capped (watch for the _truncated note); for a single line item's time series use stocks_financial_concept, and for computed ratios use stocks_ratios.
Inputs: ticker (required).
stocks_insidersInsider transactionsARead-only
List a company's insider transactions from SEC Form 3/4/5 filings (officers, directors, 10% owners), most recent first. Paginate with cursor/limit (default 10, max 25), or set max_items to auto-collect across pages. For large outside stakeholders (13D/13G) use stocks_ownership.
Inputs: ticker (required), limit, cursor, max_items.
stocks_ownershipOwnership filingsARead-only
List a company's Schedule 13D/13G beneficial-ownership filings (holders of large stakes), most recent first. Paginate with cursor/limit, or set max_items to auto-collect across pages. For officer/director trades use stocks_insiders; for institutional 13F positions use filers_holdings.
Inputs: ticker (required), limit, cursor, max_items.
stocks_profileCompany profileARead-only
Fetch a company's reference profile — name, CIK, SIC/industry, exchange, and address — assembled from SEC EDGAR submissions metadata. Use it for company identity details; for financial statements use stocks_financials and for the filing history use stocks_filings. Returns structuredContent alongside the text.
Inputs: ticker (required). Returns: cik, name, ticker, sic_code, +5 more
stocks_ratiosFinancial ratiosARead-only
Fetch a company's fundamental financial ratios (valuation, profitability, liquidity, leverage) for the latest reporting period plus the full historical series, derived from its XBRL financials. For raw statement line items use stocks_financials or stocks_financial_concept.
Inputs: ticker (required).
stocks_risk_factors_diffRisk-factors diffARead-only
Compute the year-over-year diff of a company's risk factors (10-K Item 1A), highlighting added, removed, and changed language between its two most recent annual reports. Use it to see how disclosed risks evolved; for the raw text use stocks_section with section 'risk-factors'.
Inputs: ticker (required).
stocks_screenerFundamentals screenerARead-only
Screen one XBRL concept for a single fiscal period across all filers at once (e.g. Revenues for FY2023), returning each company's reported value. This is the cross-sectional counterpart to stocks_financial_concept, which returns one company's series over time. Paginate with cursor/limit.
Inputs: period (required), concept (required), unit, limit, +2 more.
stocks_searchSearch stocksARead-only
Search the US equity universe by ticker, company name, or CIK substring, returning matching companies with their ticker, name, and CIK. Start here to resolve a name or partial symbol into the exact ticker the other stocks_* tools require. Returns structuredContent alongside the text.
Inputs: q (required), limit. Returns: data, meta
stocks_sectionFiling section textARead-only
Fetch the full text of a single narrative section from one SEC filing, selected by section code (e.g. business, risk-factors, mda). Prefer this over stocks_sections when you need just one section — it returns far less text. Discover the available section codes with stocks_sections and get accession numbers from stocks_filings.
Inputs: ticker (required), section (required), accession (required).
stocks_sectionsFiling sectionsARead-only
Fetch every extracted narrative section of one SEC filing at once — e.g. business, risk-factors, mda, legal-proceedings — each with its section code and full text, identified by ticker and accession. Use this to pull a whole filing's readable text; when you only need one section, stocks_section returns far less. Large filings may be size-capped (watch for the _truncated note). Get accession numbers from stocks_filings.
Inputs: ticker (required), accession (required).
ws_collectCollect a live windowA
One-shot: subscribe, wait up to duration_ms collecting matching ticks (or until max reached), then return them. Subscriptions this call newly creates are removed afterwards. Use this for a quick 'sample N seconds of live data' request.
Inputs: product (required), symbols (required), max, duration_ms.
ws_disconnectDisconnect live streamAIdempotent
Close the live WebSocket and clear all subscriptions and the buffered frames. Use this to tear everything down; to drop only some symbols while keeping the connection open use ws_unsubscribe. Idempotent — safe to call when already disconnected.
Inputs: no named parameters.
ws_pollPoll buffered ticksARead-only
Read buffered live frames. Omit after_seq to get the most recent frames (a tail snapshot); then pass the returned next_seq on subsequent calls to get only newer frames. Non-blocking.
Inputs: limit, symbol, after_seq.
ws_statusLive stream statusARead-only
Report the live stream's connection state, active subscriptions, buffered frame count, and last error, without opening a connection or consuming buffered frames. Use it to check what's subscribed before ws_poll; read buffered ticks with ws_poll.
Inputs: no named parameters.
ws_subscribeSubscribe to live streamA
Open (if needed) the live WebSocket and subscribe to symbols on a channel. Incoming ticks are buffered; read them with ws_poll. Returns current connection status.
Inputs: product (required), symbols (required).
ws_unsubscribeUnsubscribe from live streamAIdempotent
Stop receiving the given symbols on a channel; the WebSocket stays open for any remaining subscriptions. Returns current connection status. Pair with ws_subscribe; to close the connection entirely use ws_disconnect.
Inputs: product (required), symbols (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
Each tool has a clearly distinct purpose with thorough descriptions explaining differences (e.g., last_trade vs last_quote, stocks_section vs stocks_sections, ws_subscribe vs ws_collect). Even closely related tools like markets_status and markets_status_all are well-differentiated.
Tool names follow consistent patterns: stocks_ prefix for equity tools, markets_ for market tools, ws_ for WebSocket tools, and descriptive names like last_trade, last_quote, etc. All use snake_case uniformly, making the set predictable.
At 36 tools, the set is large but reflects the comprehensive financial data coverage (stocks, crypto, forex, markets, economic calendar, DEX, WebSocket streaming). While it could be more focused, each tool seems necessary for the domain, keeping it just above the typical ideal range.
The tool surface covers major financial data needs: equities (fundamentals, filings, insider trades, ratios, screening, historical bars), markets (schedules, status, calendar), crypto/forex (OHLCV bars, live quotes), WebSocket streaming, and DEX data. Minor gaps like crypto order books or options data exist but are not core to the server's expressed purpose.
Maintenance
Related MCP Connectors
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
A Model Context Protocol server exposing real-time and historical Colombo Stock Exchange (CSE) data to AI agents and LLM applications. Provides quotes and OHLCV price history, full financial statements (income, balance sheet, cash flow), pre-computed technicals (moving averages, RS ratings, volume signals), macroeconomic indicators, corporate actions, and rule-based screening across CSE stocks and sector indices, everything needed to build CSE-aware trading assistants, research tools, and market-analysis agents. This is the official MCP server of www.ceyloncharts.com
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.112,329MIT
- AlicenseAqualityCmaintenanceComprehensive MCP server for real-time stock, cryptocurrency, options, and fundamental analysis, including SEC filings and insider trading data.269 npmMIT

NINX MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that provides financial trading tools and market analysis capabilities, enabling AI assistants to access real-time market data, execute trades, analyze portfolios, and perform comprehensive financial analysis.MIT- AlicenseAqualityBmaintenanceMCP server that exposes Yahoo Finance data through tools for searching instruments, fetching quotes, history, company info, financials, dividends, news, recommendations, and options. Enables AI assistants to answer market-data questions using natural language.1024638 PyPI4MIT