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 分