Skip to content
MCP server

EODHD Guard

EODHD market data with guards against silent failures, stale codes and runaway API spend

Runs locally

EODHD Guard is a free MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

Pricing
Free
Platforms
CLI, Self-hosted
Runs
Locally
What it can do
Read-only
Access
Needs a secret key or token

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "eodhd-guard-mcp": {
      "command": "uvx",
      "args": [
        "eodhd-guard-mcp"
      ],
      "env": {
        "EODHD_API_KEY": "<EODHD_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • EODHD_API_KEYYour EODHD API key. You need your own EODHD subscription.Required
  • EODHD_GUARD_DAILY_BUDGETMost EODHD API calls this server may spend per GMT day; 0 means no limit.

About EODHD Guard

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.

Tools this server provides (17)

Taken from the project documentation; the running server may differ.

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_pricesName suggests: reads
End-of-day prices.
get_dividendsName suggests: reads
Dividend history.
get_splitsName suggests: reads
Split history.
search_symbolsName suggests: reads
Search for symbols.
list_exchangesName suggests: reads
List exchanges.
list_exchange_symbolsName suggests: reads
List symbols on an exchange.
check_symbolName suggests: reads
Checks a symbol, optionally including a quote.
get_intraday_pricesName suggests: reads
Intraday price bars.
get_fundamentalsName suggests: reads
Company fundamentals.
get_earnings_calendarName suggests: reads
Earnings calendar.
get_dividend_calendarName suggests: reads
Dividend calendar.
get_split_calendarName suggests: reads
Split calendar.
get_quoteName suggests: reads
Delayed live quote.
get_newsName suggests: reads
News for tickers.
get_sentimentName suggests: reads
News sentiment scores.
get_economic_eventsName suggests: reads
Economic events.
get_usageName suggests: reads
Account usage counters from the free account endpoint.

What it does

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

Pricing

Free

Server needs your own EODHD subscription; EODHD offers a free plan of 20 calls per day

EODHD Guard 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.

How AIPoweredBot checks servers