内容
# Finnhub MCP Server
An MCP server to interface with Finnhub API.
### Tools
- `list_news`
- List latest market news from Finnhub [market news endpoint](https://finnhub.io/docs/api/market-news)
- `get_market_data`
- Get market data for a particular stock from [quote endpoint](https://finnhub.io/docs/api/quote)
- `get_basic_financials`
- Get basic financials for a particular stock from [basic financials endpoint](https://finnhub.io/docs/api/company-basic-financials)
- `get_recommendation_trends`
- Get recommendation trends for a particular stock from [recommendation trend endpoint](https://finnhub.io/docs/api/company-basic-financials)
## Configuration
1. Run `uv sync` to install the dependencies. To install `uv` follow the instructions [here](https://docs.astral.sh/uv/). Then do `source .venv/bin/activate`.
2. Setup the `.env` file with the Finnhub API Key credentials.
```
FINNUB_API_KEY=<FINNHUB_API_KEY>
```
3. Run `fastmcp install server.py` to install the server.
4. Open the configuration file located at:
- On macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
5. Locate the command entry for `uv` and replace it with the absolute path to the `uv` executable. This ensures that the correct version of `uv` is used when starting the server.
6. Restart Claude Desktop to apply the changes.
## Development
Run `fastmcp dev server.py` to start the MCP server. MCP inspector is helpful for investigating and debugging locally.
连接信息
猜你喜欢
worldmonitor
实时全球情报仪表盘。基于人工智能的新闻聚合、地缘政治监测和基础设施跟踪,提供统一的态势感知界面。
Vibe-Trading
Vibe-Trading:您的个人交易代理
ai-berkshire
AI 时代的伯克希尔:基于 Claude Code 的价值投资研究框架。巴菲特·芒格·段永平·李录四大师方法论 + 多Agent并行研究。
stalemap
Tell your coding agent which dependencies changed after its training cutoff....
mcd-dual-budget-coach
麦门双预算军师 · 麦当劳中国 MCP 参赛作品 | 钱一个预算、热量一个预算,两个闸门同时过才配餐:88,788...
summer
The game engine built for AI. MCP server, CLI and skills that let any agent...