SuperAPIAI Directory

finance-pulse-python

github.com · AI finance

Finance Pulse's Python client and MCP server organize financial news into structured, sourced statements; each statement includes sentiment, importance, ticker, industry, source, headline, and publication time. Multiple statements about the same event are grouped into topics; consecutive topics about the same company form storylines, and topics in turn belong to long-term issues. The project offers two ways to use it: a Python client for scripts, notebooks, and data pipelines, and an MCP server that lets MCP clients such as Claude and Cursor query news directly. To use it, you need to subscribe to a Finance Pulse plan on RapidAPI and obtain an X-RapidAPI-Key; a free plan is available for trial.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · API

About this tool

Finance Pulse is a tool that turns financial news into structured, traceable data; this repository is its Python client and MCP server implementation.

Purpose Break financial news down into “statements”: each article distills a one-sentence fact and attaches sentiment, importance, ticker, industry, source, headline, and publication time. Statements about the same development are grouped into topics; topics about the same company that continue one another form storylines, and topics in turn belong to long-term issues. The fintopic.news homepage is built on the same API.

Main capabilities

  1. Python client: suitable for scripts, notebooks, and data pipelines. Each method returns the API's JSON as-is, with the structure {"data": ..., "next_cursor": ..., "snapshot": {...}}; iter_statements and poll_feed yield data rows one by one. The snapshot block contains the time the data refers to (window_start, anchor, lag_days), and each statement has published_at and indexed_at.
  2. MCP server: lets MCP clients such as Claude and Cursor query news directly, for example asking about a company's recent situation, which tickers have suddenly seen an increase in coverage, key development stories in an industry, or the daily news sentiment for a company. Each tool call usually corresponds to one API request, and results are trimmed and returned in small pages.
  3. Continuous tracking: poll_feed yields each new statement in the order it enters the API and saves its position in a file, so it does not skip data after a restart and, after a crash, redelivers only the statement being processed. On first run it starts from the feed's default starting point and saves its position only after processing the first page. After a long pause, it reads all backlog data since the saved position; the lookback range depends on the plan's historical depth, and it makes a request at least every 100 statements.
  4. Pagination and error handling: each page of 100 corresponds to one request; when max_items is not set, at most 500 rows are returned, and max_items=None can read to the end of the data. Timeouts, server errors, and temporary 429s are retried continuously, with the pause increasing gradually up to 5 minutes, and each retry is logged as a warning in the finance_pulse log; a 429 for exhausted quota or one that asks you to wait more than 5 minutes is thrown immediately. A single call throws all errors immediately; iter_statements retries transient failures or transient 429s up to five consecutive times; poll_feed keeps retrying.
  5. Generic call: fp.get("/v2/...", **params) can call any endpoint for which the client does not yet wrap a method.

Usage Requires a RapidAPI key with a Finance Pulse subscription: create a RapidAPI account, subscribe on the plans page (a free plan is available to try all features), then copy X-RapidAPI-Key from the API page; keys without a subscribed plan return 403. MCP method: the server runs via uvx (uvx is part of uv, so install uv first); the package itself does not need to be installed separately. In Claude Desktop, open claude_desktop_config.json under “Settings > Developer > Edit Config” (on macOS at ~/Library/Application Support/Claude/, on Windows at %APPDATA%\Claude), then fully quit and restart after changes; Cursor uses ~/.cursor/mcp.json. If the server fails to start in Claude Desktop, it is usually because uvx cannot be found; enter the full path in "command" (the output of which uvx, or where uvx on Windows). uvx keeps the version installed on first use; to upgrade, temporarily use finance-pulse@latest, or run uv cache clean finance-pulse. Python method: after installing the package, the client is ready to use; the MCP SDK is installed together with the package.

Use cases Suitable for users who need to connect financial news to scripts, analysis pipelines, or AI assistants, for example tracking the news thread of a specific company or industry, monitoring changes in the volume of coverage for a ticker, viewing daily news sentiment, and building automated analysis workflows based on news facts.

Limitations Sentiment describes the statement itself, not a price prediction; the sentiment of a symbol is the count of its statement labels. Topics and storylines are automatic groupings that may be wrong or incomplete and are provided only as reading aids; they do not represent event counts. The historical range available depends on the subscription plan; window_start in each response indicates the start of history, meta() gives window_days in days, and earlierstatements are not returned. Symbols are typed canonical entity codes: stocks and ETFs use ticker symbols (e.g. NVDA, 0700.HK), while indices, rates, currencies, crypto assets, commodities, and institutions use short codes (e.g. SPX, USD, BTC, FED); use kind=["equity", "etf"] to filter to tradable codes only, and use symbols(q="name", period="window") to look up codes. Tests use preset responses and do not make API requests.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools