
Finance Pulse
io.github.SlothyAfkv0.1.0更新於 Oct 2, 2026
Financial news as sourced statements with sentiment and tickers, clustered into developments.
概覽
讓助理以附來源的陳述形式查詢財經新聞,包含情緒、股票代號、主題與題材。
- 功能
- 把已發布的財經新聞轉成一句話陳述,附帶情緒、重要性、股票代號、產業、來源與發布時間,並把相關陳述聚類為話題和 19 個題材。工具包括 search_statements、trending、find_topics、get_topic、sentiment_series、screen、themes 與 reference。每次工具呼叫就是一次 API 請求,結果預設會裁剪並分頁。
- 適用情境
- 適合需要當前市場新聞涵蓋範圍的情境:某檔股票的關鍵事實與來源、哪些標的報導量突然增加、某產業最熱的發展中事件,或某標的每日新聞量與情緒。
- 執行需求
- 透過 uvx 以 stdio 在本機執行,需先安裝 uv;套件本身不需另外安裝。需要一組已訂閱 Finance Pulse 的 RapidAPI 金鑰,透過環境變數 RAPIDAPI_KEY 提供;有免費 Basic 方案。需要連線至該 API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Finance Pulse,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Finance Pulse: Python client and MCP server
Financial news as structured, sourced data. Finance Pulse reads financial news as it is published and turns every article into statements: one-sentence facts with sentiment, importance, tickers, sector, source and publication time. Statements about the same development are clustered into topics, and topics into 19 themes. fintopic.news is a front page built on the same API.
The same setup guide, with the other guides and the API reference, is on the docs site: Use Finance Pulse from Claude, Cursor or Python.
This package gives you two ways to use it:
- a Python client for scripts, notebooks and pipelines;
- an MCP server, so Claude, Cursor and other MCP clients can query the news directly.
You need a RapidAPI key that is subscribed to Finance Pulse. Create a RapidAPI account, open the
plans page and subscribe to a plan: Basic is free and is
enough to try everything below. Then copy your X-RapidAPI-Key from the API's page on RapidAPI (the endpoint playground shows it). A key that
is not subscribed to a plan is answered with 403.
Use it from Claude or Cursor (MCP)
The server runs with uvx, which is part of uv:
install uv first. The package itself needs no separate install.
Claude Code
Claude Desktop and Cursor
- Claude Desktop: Settings > Developer > Edit Config opens
claude_desktop_config.json(macOS~/Library/Application Support/Claude/, Windows%APPDATA%\Claude\). Quit and restart Claude Desktop completely afterwards. - Cursor:
~/.cursor/mcp.json
If the server does not start in Claude Desktop, it usually cannot find uvx: put the full path (the output of
which uvx, or where uvx on Windows) in "command".
uvx keeps the version it installed first. To move to a new release, use finance-pulse@latest in place of
finance-pulse once, or run uv cache clean finance-pulse.
Then ask things like:
- "What is the news saying about Nvidia today? Only the key facts, with sources."
- "Which tickers are suddenly getting more coverage than yesterday?"
- "What are the top developing stories in Energy, and how did the biggest one grow?"
- "Show me Tesla's daily news sentiment for the last two weeks."
Tools
Each tool call is one API request. Results are trimmed and default to small pages, so the free plan goes a long way.
Use it from Python
The MCP SDK is installed with the package even if you only use the client.
Every method returns the API's JSON unchanged: {"data": ..., "next_cursor": ..., "snapshot": {...}}. The
snapshot block says how fresh the data is.
Follow the news without missing anything
poll_feed yields every new statement in the order it entered the API and keeps its position in a file, so it
survives restarts: after a crash nothing is skipped and only the statement you were working on is delivered
again. The first run, with no saved position, starts 24 hours back, and the position is first stored once that
first page has been handled. After a long pause the poller reads the whole backlog since its saved position, one
request per 100 statements; delete the cursor file to start 24 hours back instead.
The API builds new data about every 2.5 minutes, so the poller waits 150 seconds between polls by default. One poller at that rate makes about 576 requests a day. Timeouts and server errors are retried; a used-up quota (429) is raised.
More than one page
Each page of 100 is one request. Without max_items it stops after 500 rows; max_items=None reads to the end
of the window.
Errors
A 429 means the plan's request quota or rate limit is used up. Timeouts and network failures are raised as
FinancePulseError too, with status 0; e.transient is true for those and for 5xx answers.
Methods
The package targets Finance Pulse API 2.0 (the /v2 endpoints). Parameters and response fields are documented in
the API reference, and the
guides show complete worked examples.
What the data is, and is not
- Symbols are canonical entity codes with a kind. Equities and ETFs appear under their ticker (
NVDA,0700.HK); indices, rates, FX, crypto, commodities and organisations under short codes (SPX,US10Y,USD,BTC,GOLD,FED). Usekind=["equity", "etf"]for tradable tickers only. - Sentiment describes the statement, not a price forecast. A symbol's sentiment is the count of its statements' labels.
- The window is a rolling 62 days.
meta()lists known outages and delays underincidents.
See the docs for the full list of caveats.
Development
The tests use canned responses and make no API requests.
Releasing
- Set the new version in
src/finance_pulse/__init__.pyand inserver.json(two places). - Build and upload to PyPI (
uv build && uv publish). From GitHub Actions, usepypa/gh-action-pypi-publishv1.14.2 or newer: older versions reject the metadata version this build writes. - Only then run
mcp-publisher publish: the registry verifies the package on PyPI (it looks for themcp-nameline in its description), so the release must be there first.
Licence
MIT
來源:README.md,提交 b9cf4af
工具
0版本歷史
1- v0.1.0最新Oct 2, 2026
