Skip to main content

A Model Context Protocol server for a collection of financial tools, https://github.com/VoxLink-org/finance-tools-mcp, modified from [investor-agent](https://github.com/ferdousbhai/investor-agent)

Project description

finance-tools-mcp: A Financial Analysis MCP Server

https://github.com/VoxLink-org/finance-tools-mcp

Overview

The finance-tools-mcp , modified from investor-agent, is a Model Context Protocol (MCP) server that provides comprehensive financial insights and analysis to Large Language Models. It leverages real-time market data, news, and advanced analytics to help users obtain:

  • Detailed ticker reports including company overview, news, key metrics, performance, dates, analyst recommendations, and upgrades/downgrades.
  • Options data highlighting high open interest.
  • Historical price trends for stocks.
  • Essential financial statements (income, balance sheet, cash flow) formatted in millions USD.
  • Up-to-date institutional ownership and mutual fund holdings.
  • Current and historical CNN Fear & Greed Index data and trend analysis.
  • Prompts related to core investment principles and portfolio construction strategies.
  • Earnings history and insider trading activity.
  • Breaking world news from CNBC.
  • FRED series search results.
  • Technical indicators using ta-lib-python.

The server integrates with yfinance for market data retrieval and fetches Fear & Greed data from CNN.

It also includes tools for calculating mathematical expressions and technical indicators using ta-lib-python.

And Macro economic indicators using fredapi.

And breaking world news from cnbc.com.

Make sure to also enable web search functionality if you would like to incoporate latest news in your analysis.

Sample Report

alt text

Prerequisites

  • Python: 3.10 or higher
  • Package Manager: uv

Installation

First, install uv if you haven't already:

curl -LsSf https://astral.sh/uv/install.sh | sh

Then, you can run the finance-tools-mcp MCP server using uvx:

uvx finance-tools-mcp

If you want to use your own FRED API key, you can set it as an environment variable:

FRED_API_KEY=YOUR_API_KEY uvx finance-tools-mcp

You can also run the server using Server-Sent Events (SSE) transport:

uvx finance-tools-mcp --transport sse

Or with the FRED API key and SSE transport:

FRED_API_KEY=YOUR_API_KEY uvx finance-tools-mcp --transport sse

Usage with MCP Clients

To integrate finance-tools-mcp with an MCP client (for example, Claude Desktop), add the following configuration to your claude_desktop_config.json:

{
  "mcpServers": {
    "investor": {
        "command": "path/to/uvx/command/uvx",
        "args": ["finance-tools-mcp"],
    }
  }
}

Debugging

You can leverage the MCP inspector to debug the server:

npx @modelcontextprotocol/inspector uvx finance-tools-mcp

or

npx @modelcontextprotocol/inspector uv --directory  ./ run finance-tools-mcp

For log monitoring, check the following directories:

  • macOS: ~/Library/Logs/Claude/mcp*.log
  • Windows: %APPDATA%\Claude\logs\mcp*.log

Development

For local development and testing:

  1. Use the MCP inspector as described in the Debugging section.
  2. Test using Claude Desktop with this configuration:
{
  "mcpServers": {
    "investor": {
      "command": "path/to/uv/command/uv",
      "args": ["--directory", "path/to/finance-tools-mcp", "run", "finance-tools-mcp"],
    }
  }
}

License

This MCP server is licensed under the MIT License. See the LICENSE file for details.

Samples

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

finance_tools_mcp-0.0.6.tar.gz (299.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

finance_tools_mcp-0.0.6-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file finance_tools_mcp-0.0.6.tar.gz.

File metadata

  • Download URL: finance_tools_mcp-0.0.6.tar.gz
  • Upload date:
  • Size: 299.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for finance_tools_mcp-0.0.6.tar.gz
Algorithm Hash digest
SHA256 c0bbc50bd331a3d8f81e0057a3e494a1cb8ab6717108cc1449d39fdb55732977
MD5 4661e14e4e2522a9c5fa6e0960d2a3bd
BLAKE2b-256 a9820424243d3e11cbcea6b6bef69bccb02501f50dd245ed7834ba8e8d8c3420

See more details on using hashes here.

Provenance

The following attestation bundles were made for finance_tools_mcp-0.0.6.tar.gz:

Publisher: publish.yml on VoxLink-org/finance-tools-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file finance_tools_mcp-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for finance_tools_mcp-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed24903ca6ed655a7617850c5740f098658be8abdd5d1e70db0fbb9dfafc4c0
MD5 d61dbe70d2a8740ad9a84b93b801eff4
BLAKE2b-256 7e2b77ed5b9d3041e5ebc1003086af2c3534805a16f40f1a6c8fd8236cdcc72f

See more details on using hashes here.

Provenance

The following attestation bundles were made for finance_tools_mcp-0.0.6-py3-none-any.whl:

Publisher: publish.yml on VoxLink-org/finance-tools-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page