StockSense
StockSense
一个 MCP(模型上下文协议)服务器,为 AI 代理提供金融数据访问——SEC EDGAR 文件、市场基本面、内部交易和价格历史。无需 API 密钥。
快速开始
1. 安装
pip install stocksense2. 添加到 Claude Desktop
添加到你的 Claude Desktop 配置:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"stocksense": {
"command": "stocksense"
}
}
}3. 重启 Claude Desktop
退出并重新打开 Claude Desktop。你应该会看到锤子图标,并且有 13 个工具可用。
可用工具
Tool | Description |
| 获取任意股票代码的历史 OHLCV 价格数据 |
| 获取当前价格、市值、市盈率、52 周范围 |
| 搜索 SEC EDGAR 文件(10-K、10-Q、8-K) |
| 获取特定 SEC 文件的完整文本 |
| 获取 Form 4 文件中的近期内部交易买卖记录 |
| 获取利润表、资产负债表、现金流量表和关键比率 |
| 综合所有数据源的全面研究简报 |
| 并排比较多家公司的关键指标 |
| 季度盈利历史,包含 EPS 预估与实际值 |
| 公司简介:板块、行业和业务描述 |
| 股息历史和当前收益率 |
| 即将到来的盈利日期、除息日和预估 |
| 技术指标:SMA、EMA、RSI、MACD 和表现 |
示例查询
"AAPL 上个月的价格历史是什么?"
"获取 MSFT 的报价"
"显示 TSLA 过去一年的每周价格"
"显示 Apple 最近的 10-K 文件"
"Tesla 最近有哪些内部交易?"
"显示 Apple 的财务报表"
"给我一份关于 Tesla 的研究简报"
"比较 AAPL、MSFT 和 GOOGL"
"显示 Apple 的盈利历史"
"NVIDIA 属于哪个板块?"
"显示 AAPL 的股息历史"
"Microsoft 的下一个盈利日期是什么时候?"
"Tesla 的技术指标是什么?"
Related MCP server: publicfinance
数据来源
yfinance — 价格数据、报价、财务报表、分析师共识
SEC EDGAR — 免费、无限制的文件和内部交易(无需 API 密钥)
要求
Python 3.11+
无需 API 密钥——使用免费的公共数据源
开发
# Clone and install for development
git clone https://github.com/mikejj-creation/stocksense.git
cd stocksense
pip install -e ".[dev]"
# Run tests
pytest
# Run linter
ruff check src/ tests/免责声明
StockSense 使用来自 Yahoo Finance 和 SEC EDGAR 的免费公共数据。用户有责任遵守每个提供者的服务条款。本工具仅供参考——不构成财务建议。
许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseAqualityDmaintenanceProvides AI agents with direct access to SEC filing intelligence, company fundamentals, dilution risk scoring, and cross-company analytics for financial research.871791MIT- AlicenseAqualityDmaintenanceEnables AI agents to access SEC EDGAR filings, US Treasury rates, BLS labor statistics, and economic indicators without API keys.610MIT
- FlicenseAqualityDmaintenanceProvides AI assistants with real-time stock prices, financial statements, SEC filings, and analytical tools like DCF valuation and ratio analysis.14

ROIC.ai Financial Data MCPofficial
AlicenseAqualityBmaintenanceEnables AI assistants to access stock prices, financial statements, earnings call transcripts, and fundamental data for 60,000+ public companies via 25 read-only tools.252MIT
Related MCP Connectors
SEC EDGAR for AI agents: company filings, financials and insider trades. No API keys.
SEC EDGAR filings for AI agents: company lookup, filings, financials, insider trades. No keys.
The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikejj-creation/stocksense'
If you have feedback or need assistance with the MCP directory API, please join our Discord server