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
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
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:
- Use the MCP inspector as described in the Debugging section.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file finance_tools_mcp-0.0.8.tar.gz.
File metadata
- Download URL: finance_tools_mcp-0.0.8.tar.gz
- Upload date:
- Size: 300.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3223bfff500701fe5eaf3a400d32c79b83166826a241c332c6d054c0fcf7ebbd
|
|
| MD5 |
daf623e4239059bb5e17dfc0ed06679b
|
|
| BLAKE2b-256 |
a92606a597d6d013f96ce8bf7bcdb1b8962985953529ea3d53d65321b2bfe4bb
|
Provenance
The following attestation bundles were made for finance_tools_mcp-0.0.8.tar.gz:
Publisher:
publish.yml on VoxLink-org/finance-tools-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
finance_tools_mcp-0.0.8.tar.gz -
Subject digest:
3223bfff500701fe5eaf3a400d32c79b83166826a241c332c6d054c0fcf7ebbd - Sigstore transparency entry: 207247276
- Sigstore integration time:
-
Permalink:
VoxLink-org/finance-tools-mcp@e2948f304fae8bb31a38658882d5b48f334b7eee -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VoxLink-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e2948f304fae8bb31a38658882d5b48f334b7eee -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file finance_tools_mcp-0.0.8-py3-none-any.whl.
File metadata
- Download URL: finance_tools_mcp-0.0.8-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc6c65fd943505a4e12c2fe8d3684d6bd1cca84a1adf89d0baf038a2cd02829b
|
|
| MD5 |
4f31ab2e8a54f7cb0874d0c71ab15e5c
|
|
| BLAKE2b-256 |
1284c8577de56671bd512fb31677da437079be4754558d2c1e0f8e4ac84dc250
|
Provenance
The following attestation bundles were made for finance_tools_mcp-0.0.8-py3-none-any.whl:
Publisher:
publish.yml on VoxLink-org/finance-tools-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
finance_tools_mcp-0.0.8-py3-none-any.whl -
Subject digest:
bc6c65fd943505a4e12c2fe8d3684d6bd1cca84a1adf89d0baf038a2cd02829b - Sigstore transparency entry: 207247278
- Sigstore integration time:
-
Permalink:
VoxLink-org/finance-tools-mcp@e2948f304fae8bb31a38658882d5b48f334b7eee -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VoxLink-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e2948f304fae8bb31a38658882d5b48f334b7eee -
Trigger Event:
workflow_dispatch
-
Statement type: