Stocksense

io.github.mikejj-creation由 GitHub 帳號 mikejj-creation 發布v0.1.1更新於 Oct 24, 2026

Financial data for AI agents: SEC filings, price history, insider trades, and more.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓 AI 助理取得上市公司財務資料:SEC 文件、報價、歷史價格、內部人交易、財務報表與技術指標。

可以做什麼
取得某檔股票的報價、歷史 OHLCV 價格、股利與技術指標,以及財報日、除息日等即將到來的關鍵事件。搜尋 SEC EDGAR 文件並讀取特定文件的全文。擷取 Form 4 文件中的內部人買賣紀錄。讀取損益表、資產負債表、現金流量與關鍵比率、公司簡介及季度盈餘歷史。為單一公司建立綜合研究簡報,或並排比較多家公司的關鍵指標。
適用情境
適合讓助理查詢美國上市公司的基本面、監管文件或價格資料並在對話中整理,無須註冊行情資料 API。適用於研究與比較類問題,而非交易或投資組合管理。
執行需求
以 Python 套件形式在本機執行(需 Python 3.11 以上),以 pip 安裝並透過 stdio 啟動,例如加入 Claude Desktop 設定。未宣告任何 API 金鑰或環境變數。需要連線至 Yahoo Finance 與 SEC EDGAR 的網路存取。
安裝前請注意
資料來自免費公開來源(Yahoo Finance、SEC EDGAR),使用者須自行遵守各提供者的服務條款。輸出僅供參考,不構成投資建議。此伺服器為唯讀且未宣告憑證,但資料可能有延遲或不完整。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Stocksense,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

StockSense

[PyPI version] [PyPI downloads] [Python versions] [License: MIT]

An MCP (Model Context Protocol) server that gives AI agents access to financial data — SEC EDGAR filings, market fundamentals, insider trades, and price history. No API keys needed.

Quick Start

1. Install

bash
pip install stocksense

2. Add to Claude Desktop

Add to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{  "mcpServers": {    "stocksense": {      "command": "stocksense"    }  }}

3. Restart Claude Desktop

Quit and reopen Claude Desktop. You should see the hammer icon with 13 tools available.

Available Tools

ToolDescription
price_historyGet historical OHLCV price data for any ticker
quoteGet current price, market cap, P/E, 52-week range
search_filingsSearch SEC EDGAR filings (10-K, 10-Q, 8-K)
get_filingGet full text of a specific SEC filing
insider_tradesGet recent insider buys/sells from Form 4 filings
financialsGet income statement, balance sheet, cash flow, and key ratios
analyze_companyComprehensive research brief aggregating all data sources
compare_companiesCompare key metrics across multiple companies side-by-side
earningsQuarterly earnings history with EPS estimates vs actuals
company_profileCompany profile: sector, industry, and business description
dividendsDividend history and current yield
key_eventsUpcoming earnings dates, ex-dividend date, and estimates
technicalsTechnical indicators: SMA, EMA, RSI, MACD, and performance

Example queries

  • "What's AAPL's price history for the last month?"
  • "Get me a quote for MSFT"
  • "Show me TSLA's weekly prices over the past year"
  • "Show me Apple's recent 10-K filings"
  • "What insider trades happened at Tesla recently?"
  • "Show me Apple's financial statements"
  • "Give me a research brief on Tesla"
  • "Compare AAPL, MSFT, and GOOGL"
  • "Show me Apple's earnings history"
  • "What sector is NVIDIA in?"
  • "Show me AAPL's dividend history"
  • "When is Microsoft's next earnings date?"
  • "What are Tesla's technical indicators?"

Data Sources

  • yfinance — price data, quotes, financial statements, analyst consensus
  • SEC EDGAR — free, unlimited filings and insider trades (no API key needed)

Requirements

  • Python 3.11+
  • No API keys needed — uses free public data sources

Development

bash
# Clone and install for developmentgit clone https://github.com/mikejj-creation/stocksense.gitcd stocksensepip install -e ".[dev]"
# Run testspytest
# Run linterruff check src/ tests/

Disclaimer

StockSense uses free public data from Yahoo Finance and SEC EDGAR. Users are responsible for complying with each provider's terms of service. This tool is for informational purposes only — not financial advice.

License

MIT

來源:README.md,提交 4ce416f

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分