# EODHD Guard

> EODHD Guard is a free MCP server for finance and payments. EODHD market data with guards against silent failures, stale codes and runaway API spend. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/techfreakworm/eodhd-guard-mcp
- **MCP Registry name:** io.github.techfreakworm/eodhd-guard-mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-23

## About

The README explains why this server exists: after an October 2026 evaluation of about 930 calls to EODHD's API, its author found failures an assistant cannot see because the API reports them as success. Examples include delisted codes that keep answering with frozen data, real-time quotes full of "NA" values, ignored bad date parameters, and symbols without an exchange suffix silently meaning the US.

Every one of its 17 tools validates arguments first, turns empty or placeholder answers into errors or warnings, labels each price as raw or adjusted with its age, and states the call cost of the response. A local ledger counts every call and the server stops at a daily budget, set with `EODHD_GUARD_DAILY_BUDGET` (default 1000; 20 is suggested for the free EODHD plan).

You bring your own EODHD subscription and API key, ideally via `EODHD_API_KEY_FILE`. Plan limits come back as `PLAN_ERROR`. The project is alpha (0.2.x), unofficial, ships no data, and warns that EODHD's licence covers personal, non-commercial use.

## Features

- **Silent failure detection:** Turns frozen codes, NA quotes and empty answers into explicit errors or warnings.
- **Argument validation:** Checks parameters before sending, so a bad date or period is not quietly ignored.
- **Price labelling:** Says whether each price is raw or adjusted and how old it is.
- **Cost reporting:** States the API-call cost of every response.
- **Daily call budget:** A local ledger counts calls and stops at a configurable daily limit.
- **Plan error mapping:** Reports a 403 as PLAN_ERROR and names the plans that include the endpoint where known.

## Good for

- Pull end-of-day prices without mistaking raw close for adjusted close
- Verify a ticker is still live before relying on its data
- Keep an unattended agent from spending a day's API allowance
- Fetch fundamentals and earnings, dividend or split calendars

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add eodhd-guard-mcp --env EODHD_API_KEY='<EODHD_API_KEY>' -- uvx eodhd-guard-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add eodhd-guard-mcp --env EODHD_API_KEY='<EODHD_API_KEY>' -- uvx eodhd-guard-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.eodhd-guard-mcp]
command = "uvx"
args = ["eodhd-guard-mcp"]
env = { EODHD_API_KEY = "<EODHD_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e EODHD_API_KEY='<EODHD_API_KEY>' eodhd-guard-mcp uvx -- eodhd-guard-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 17 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `get_eod_prices` (name suggests: reads): End-of-day prices.
- `get_dividends` (name suggests: reads): Dividend history.
- `get_splits` (name suggests: reads): Split history.
- `search_symbols` (name suggests: reads): Search for symbols.
- `list_exchanges` (name suggests: reads): List exchanges.
- `list_exchange_symbols` (name suggests: reads): List symbols on an exchange.
- `check_symbol` (name suggests: reads): Checks a symbol, optionally including a quote.
- `get_intraday_prices` (name suggests: reads): Intraday price bars.
- `get_fundamentals` (name suggests: reads): Company fundamentals.
- `get_earnings_calendar` (name suggests: reads): Earnings calendar.
- `get_dividend_calendar` (name suggests: reads): Dividend calendar.
- `get_split_calendar` (name suggests: reads): Split calendar.
- `get_quote` (name suggests: reads): Delayed live quote.
- `get_news` (name suggests: reads): News for tickers.
- `get_sentiment` (name suggests: reads): News sentiment scores.
- `get_economic_events` (name suggests: reads): Economic events.
- `get_usage` (name suggests: reads): Account usage counters from the free account endpoint.

## FAQ

### Do I need an EODHD account?

Yes. You need your own EODHD subscription and API key; the project includes and resells no data.

### How do I limit API spend?

Set EODHD_GUARD_DAILY_BUDGET; the default is 1000 calls per GMT day and 0 means no limit.

### Is EODHD Guard official?

No. It is independent and not affiliated with or endorsed by EODHD or Unicorn Data Services.

### Which Python version is needed?

Python 3.10 or later.

### Is EODHD Guard free?

Yes. EODHD Guard is free to use.

### How do I add EODHD Guard to Claude Code?

Run this command in your terminal: claude mcp add eodhd-guard-mcp --env EODHD_API_KEY='<EODHD_API_KEY>' -- uvx eodhd-guard-mcp

### What are the best alternatives to EODHD Guard?

The closest alternatives to EODHD Guard are Agent-Native Analytics, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP, Solana MCP by Vybe and Tapetide - Indian Stock Market MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [dashboard-icons](https://ai-powered.com/mcp/dashboard-icons): dashboard-icons is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/eodhd-guard
