CM

catherinedparnell/mcp-finnhub

API development

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

9 stars 10 forks Качество 29 Тренд 17

An MCP server to interface with Finnhub API.

Обзор

An MCP server to interface with Finnhub API. - List latest market news from Finnhub market news endpoint - Get market data for a particular stock from quote endpoint - Get basic financials for a particular stock from basic financials endpoint - get_recommendation_trends - Get recommendation trends for a particular stock from recommendation trend endpoint 1. Run uv sync to install the dependencies. To install uv follow the instructions here. Then do source .venv/bin/activate. 2. Setup the .env file with the Finnhub API Key credentials. 3. Run fastmcp install server.py to install the server.

README

Finnhub MCP Server

An MCP server to interface with Finnhub API.

Tools

Configuration

  1. Run uv sync to install the dependencies. To install uv follow the instructions here. Then do source .venv/bin/activate.

  2. Setup the .env file with the Finnhub API Key credentials.

FINNUB_API_KEY=
  1. Run fastmcp install server.py to install the server.

  2. Open the configuration file located at:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json
  3. 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.

  4. 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.

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →