Finnhub MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Used for loading API keys and configuration from environment variables for secure access to the Finnhub API.

  • Supports configuration file locations specific to macOS, allowing proper setup of the MCP server on Apple's operating system.

Finnhub MCP 服务器

与 Finnhub API 接口的 MCP 服务器。

工具

配置

  1. 运行uv sync来安装依赖项。要安装uv ,请按照此处的说明操作。然后执行source .venv/bin/activate
  2. 使用 Finnhub API 密钥凭证设置.env文件。
FINNUB_API_KEY=<FINNHUB_API_KEY>
  1. 运行fastmcp install server.py来安装服务器。
  2. 打开位于以下位置的配置文件:
    • 在 macOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
    • 在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
  3. 找到uv的命令条目,并将其替换为uv可执行文件的绝对路径。这可确保启动服务器时使用正确版本的uv
  4. 重新启动 Claude Desktop 以应用更改。

发展

运行fastmcp dev server.py启动 MCP 服务器。MCP 检查器有助于本地调查和调试。

-
security - not tested
F
license - not found
-
quality - not tested

该服务器提供与Finnhub API的接口,使用户能够获取最新的市场新闻、股市数据、基本财务状况以及特定股票的推荐趋势。

  1. Tools
    1. Configuration
      1. Development
        ID: p2fn8f0ihn