Commit Graph

370 Commits

Author SHA1 Message Date
Ferdous Bhai
64a76c6fcb Update README.md
# investor-agent: A Financial Analysis MCP Server

## Overview

The **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.
- Earnings history and insider trading activity.

The server integrates with [yfinance](https://pypi.org/project/yfinance/) for market data retrieval and [BraveSearch](https://pypi.org/project/brave-search-python-client/) for search capabilities.

## Prerequisites

- **Python:** 3.12 or higher
- **Package Manager:** [uv](https://docs.astral.sh/uv/)

## Installation

First, install **uv** if you haven't already:

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

Then, you can run the **investor-agent** MCP server using `uvx`:

```bash
uvx investor-agent
```

## Tools

The **investor-agent** server comes with several tools to support financial analysis:

### Ticker Information

1. **`get_ticker_data`**
   - **Description:** Retrieves a comprehensive report for a given ticker symbol, including company overview, news, key metrics, performance, dates, analyst recommendations, and upgrades/downgrades.
   - **Input:**
     - `ticker` (string): Stock ticker symbol (e.g., `"AAPL"`).
   - **Return:** A formatted multi-section report.

2. **`get_available_options`**
   - **Description:** Provides a list of stock options with the highest open interest.
   - **Inputs:**
     - `ticker_symbol` (string): Stock ticker symbol.
     - `num_options` (int, optional): Number of options to return (default: 10).
     - `start_date` & `end_date` (string, optional): Date range in `YYYY-MM-DD` format.
     - `strike_lower` & `strike_upper` (float, optional): Desired strike price range.
     - `option_type` (string, optional): Option type (`"C"` for calls, `"P"` for puts).
   - **Return:** A formatted table of options data.

3. **`get_price_history`**
   - **Description:** Retrieves historical price data for a specific ticker.
   - **Inputs:**
     - `ticker` (string): Stock ticker symbol.
     - `period` (string): Time period (choose from `"1d"`, `"5d"`, `"1mo"`, `"3mo"`, `"6mo"`, `"1y"`, `"2y"`, `"5y"`, `"10y"`, `"ytd"`, `"max"`).
   - **Return:** A table showing price history.

### Financial Data Tools

1. **`get_financial_statements`**
   - **Description:** Fetches financial statements (income, balance, or cash flow) formatted in millions USD.
   - **Inputs:**
     - `ticker` (string): Stock ticker symbol.
     - `statement_type` (string): `"income"`, `"balance"`, or `"cash"`.
     - `frequency` (string): `"quarterly"` or `"annual"`.
   - **Return:** A formatted financial statement.

2. **`get_institutional_holders`**
   - **Description:** Retrieves details about major institutional and mutual fund holders.
   - **Input:**
     - `ticker` (string): Stock ticker symbol.
   - **Return:** Two formatted tables listing institutional and mutual fund holders.

3. **`get_earnings_history`**
   - **Description:** Retrieves a formatted table of earnings history.
   - **Input:**
     - `ticker` (string): Stock ticker symbol.
   - **Return:** A table displaying historical earnings data.

4. **`get_insider_trades`**
   - **Description:** Fetches the recent insider trading activity for a given ticker.
   - **Input:**
     - `ticker` (string): Stock ticker symbol.
   - **Return:** A formatted table showing insider trades.

## Usage with MCP Clients

To integrate **investor-agent** with an MCP client (for example, Claude Desktop), add the following configuration to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "investor": {
        "command": "path/to/uvx/command/uvx",
        "args": ["investor-agent"],
        "env": {
            "BRAVE_SEARCH_API_KEY": "your_brave_search_api_key_here"
                }
    }
  }
}
```

## Debugging

You can leverage the MCP inspector to debug the server:

```bash
npx @modelcontextprotocol/inspector uvx investor-agent
```

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](#debugging) section.
2. Test using Claude Desktop with this configuration:

```json
{
  "mcpServers": {
    "investor": {
      "command": "path/to/uv/command/uv",
      "args": ["--directory", "path/to/investor-agent", "run", "investor-agent"],
    }
  }
}
```

## License

This MCP server is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
2025-02-23 16:17:45 +09:00
Frank Fiegel
2616b78471 Merge pull request #208 from hmk/add-attio-server
add Attio CRM
2025-02-21 16:00:01 -06:00
Frank Fiegel
e56175b65b Merge pull request #218 from marcnuri-forks/feat/kubernetes-mcp-server
feat(readme): add kubernetes-mcp-server
2025-02-21 15:59:36 -06:00
Frank Fiegel
dce8f48aa3 Merge pull request #219 from alexander-zuev/docs/add-supabase-mcp
docs: add Supabase MCP Server with SQL query execution
2025-02-21 15:59:23 -06:00
Frank Fiegel
47a30e7b8e Merge pull request #220 from haris-musa/haris-musa-patch-1
docs: add excel-mcp-server to developer tools
2025-02-21 15:59:12 -06:00
king101125s@163.com
2fea0126fe Add Security Audit MCP Server to README files 2025-02-21 18:55:10 +08:00
Haris
335691d02e docs: add excel-mcp-server to developer tools 2025-02-19 12:05:00 +05:00
Alexander Zuev
40c1a4d29d docs: add Supabase MCP Server with SQL query execution and database exploration tools 2025-02-19 14:36:43 +08:00
Marc Nuri
ac8e2b264e feat(readme): add kubernetes-mcp-server 2025-02-18 12:30:50 +01:00
Frank Fiegel
930ed1cecf Merge branch 'main' into add-mcp-server-multiverse 2025-02-16 13:49:37 -06:00
A₿del ∞/21M
04807e5229 Merge branch 'main' into doc/add-bitcoin-mcp-server 2025-02-10 10:23:45 +01:00
Jake Heimark
6fa110a05e Merge branch 'main' into add-attio-server 2025-02-07 20:01:50 -08:00
Frank Fiegel
5a4d67e576 Merge pull request #206 from j4c0bs/add-new-server-sql-analyzer
Add new sql analyzer server
2025-02-07 17:09:37 -06:00
Frank Fiegel
77b4c57bc5 Update README.md 2025-02-07 17:09:22 -06:00
Frank Fiegel
d181b8c668 Merge pull request #207 from briandconnelly/add_mcp_server_ipinfo
Add mcp-server-ipinfo
2025-02-07 17:09:00 -06:00
Frank Fiegel
cef7dff6a4 Merge pull request #196 from fr0gger/main
Adding the ORKL MCP Server
2025-02-07 17:08:19 -06:00
Frank Fiegel
54c0da3c19 Merge pull request #191 from nick1udwig/patch-1
add ws-mcp
2025-02-07 17:07:42 -06:00
Frank Fiegel
1e4c6ad6f5 Merge pull request #193 from jirispilka/docs/apify-mcp-server
docs: Add Actors MCP server for Apify's Actors
2025-02-07 17:06:43 -06:00
Abdel @ StarkWare
6573a806c0 add bitcoin-mcp 2025-02-07 11:18:13 +01:00
Abdel @ StarkWare
c3ebd75a02 Revert " add bitcoin-mcp"
This reverts commit bcef01ce6c.
2025-02-07 11:17:28 +01:00
Abdel @ StarkWare
bcef01ce6c add bitcoin-mcp 2025-02-07 11:12:45 +01:00
Jake Heimark
5e028b6477 add Attio CRM 2025-02-01 16:25:33 -08:00
Brian Connelly
8a5f860827 Add mcp-server-ipinfo 2025-01-31 15:44:58 -08:00
j4c0bs
6d62ab95be Add new sql analyzer server 2025-01-30 11:03:31 -08:00
Abdel @ StarkWare
aad538da09 📝 add nostr-mcp 2025-01-30 14:11:35 +01:00
lamemind
5e537faf3e Add new mcp-server-multiverse server 2025-01-29 21:44:31 +01:00
lamemind
b5b8292bad Add new mcp-server-multiverse server 2025-01-29 21:42:58 +01:00
Jean-Christophe Hoelt
c72221d6ad Add iaptic mcp server
Link to the MCP server for [iaptic](https://www.iaptic.com).
2025-01-28 09:43:18 +02:00
Ferdous Bhai
cb6bbff13b Update README.md
Add server for working with tastytrade API
2025-01-27 13:02:29 +09:00
John
c97684a691 Update README.md
Removed incorrect additional line break, fixed identation on burningion/video-editing-mcp and added our own new MCP server for Netskope Security Service Edge Cloud Platform Service that can manage all components related to it's Zero Trust Network Access framework through 23 tools available to users of this MCP based on the latest swagger documentation dated 25/01/2025
2025-01-26 01:22:44 +01:00
John
2663773d60 Update README.md
Added brand new MCP for using Netskope SSE Zero Trust Network Access components through MCP, all available features to date are also available in the MCP as it's build from the swagger documentations dated 25/01/2025.
2025-01-26 01:20:15 +01:00
Thomas Roccia
a1f37e747d Update README.md 2025-01-23 08:45:14 +10:00
Jiri Spilka
3289d2450d Add Actors MCP server for Apify's Actors 2025-01-21 11:59:46 +01:00
nick.kino
230a450723 add ws-mcp 2025-01-20 10:28:43 -08:00
TerminalMan
016a6aad8a Merge pull request #187 from robertDouglass/main
Add marketing category and add Open Strategy Partners Marketing Tools
2025-01-20 09:24:06 +00:00
TerminalMan
8ef93c5078 Merge branch 'main' into main 2025-01-20 09:22:39 +00:00
TerminalMan
e961dab234 Merge pull request #190 from akseyh/add-new-server
Add new Bear Notes server
2025-01-20 09:20:52 +00:00
Frank Fiegel
9295435c03 Merge pull request #186 from r-huijts/add_xcode_mcp
feat(readme): add Xcode MCP Server to Developer Tools section
2025-01-19 15:16:51 -06:00
Frank Fiegel
11a5009107 Merge pull request #184 from tzolov/mcp-java-sdk
Add Java and Spring MCP SDK link
2025-01-19 15:16:39 -06:00
Frank Fiegel
f92d156164 Merge pull request #174 from KS-GEN-AI/main
JIRA and CONFLUENCE MCP servers
2025-01-19 15:16:16 -06:00
Frank Fiegel
3eb789c806 Merge pull request #185 from ferrislucas/iterm-mcp
Add iterm-mcp
2025-01-19 15:13:42 -06:00
akseyh
2508bcfd9d Add new Bear Notes server 2025-01-19 23:56:54 +03:00
Zach Caceres
9d7ba03495 fix: alphabetical order 2025-01-19 13:51:00 -07:00
Zach Caceres
6ffb219698 feat: add three MCP servers 2025-01-19 13:48:35 -07:00
TerminalMan
39896c43cf Merge pull request #178 from gotoolkits/mcp-wecombot-server
add mcp-wecombot-server
2025-01-17 11:13:05 +00:00
TerminalMan
f7ed6a1d62 Merge pull request #179 from cr7258/main
add elasticsearch-mcp-server
2025-01-17 11:12:42 +00:00
Ben Sully
37de30b667 feat(readme): add Grafana MCP server to Monitoring section
See https://github.com/grafana/mcp-grafana, released yesterday.

Thanks for maintaining the list!
2025-01-17 08:23:56 +00:00
Robert Douglass
83588e5f9b Add marketing category and add Open Strategy Partners Marketing Tools 2025-01-16 18:28:44 +01:00
Ruud Huijts
3076e93da5 feat(readme): add Xcode MCP Server to Developer Tools section
Add r-huijts/xcode-mcp-server with TypeScript, local service, and macOS support indicators.
The server provides Xcode IDE integration for project management, file operations, and build automation.
2025-01-16 13:42:39 +01:00
Ferris Lucas
8b0c442ce4 Update iTerm MCP description in README files 2025-01-13 22:59:59 -06:00