Skip to main content
Glama
EODHD Screener MCP Server

EODHD Screener MCP Server

by fiale-plus

EODHD Screener MCP Server

npm version License: MIT TypeScript MCP

Tests PR Tests

🚀 Professional-grade MCP server for advanced stock screening using EODHD financial APIs. Multi-stage filtering with technical indicators, fundamental analysis, and market data.

Perfect for: Quantitative analysis, algorithmic trading research, portfolio management, and financial AI applications.

✨ Key Features

  • 🎯 Advanced Stock Screener - Filter by market cap, sector, volume, and 50+ criteria

  • 📊 Technical Indicators - RSI, SMA, MACD, Bollinger Bands, and 100+ indicators

  • 💰 Fundamental Analysis - P/E ratios, revenue growth, debt ratios (premium)

  • 🔄 Multi-Stage Filtering - Chain filters for precision screening

  • âš¡ High Performance - Bulk processing with intelligent caching

  • 🤖 AI-Ready - Seamless Claude integration via MCP protocol

Related MCP server: Finviz MCP Server

🚀 Quick Start

# Install globally
npm install -g eodhd-screener-mcp

# Set API key
export EODHD_API_KEY="your_eodhd_api_key"

# Test installation
eodhd-screener-mcp --help

Option 2: Install from Source

# Clone and build
git clone https://github.com/fiale-plus/eodhd-screener-mcp.git
cd eodhd-screener-mcp
npm install && npm run build

# Set API key
export EODHD_API_KEY="your_eodhd_api_key"

# Test with inspector
npm run inspector

Configuration

API Key Setup

You need an EODHD API key to use this server. Get one at EODHD.com.

You can configure the API key in two ways:

Set the EODHD_API_KEY environment variable:

export EODHD_API_KEY="your_api_key_here"

Option 2: Pass API Key in Tool Calls

Include the apiKey parameter in each tool call (less secure, not recommended for production).

MCP Configuration

Claude Desktop

Add to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%/Claude/claude_desktop_config.json

Using NPM Package (Recommended):

{
  "mcpServers": {
    "eodhd-screener": {
      "command": "npx",
      "args": ["eodhd-screener-mcp"],
      "env": {
        "EODHD_API_KEY": "your_api_key_here"
      }
    }
  }
}

Using Local Installation:

{
  "mcpServers": {
    "eodhd-screener": {
      "command": "node",
      "args": ["/path/to/eodhd-screener-mcp/dist/index.js"],
      "env": {
        "EODHD_API_KEY": "your_api_key_here"
      }
    }
  }
}

Claude Code

Add a .claude.json configuration file to your project root:

Using NPM Package (Recommended):

{
  "mcpServers": {
    "eodhd-screener": {
      "command": "npx",
      "args": ["eodhd-screener-mcp"],
      "env": {
        "EODHD_API_KEY": "your_api_key_here"
      }
    }
  }
}

Using Local Installation:

{
  "mcpServers": {
    "eodhd-screener": {
      "command": "node",
      "args": ["/path/to/eodhd-screener-mcp/dist/index.js"],
      "env": {
        "EODHD_API_KEY": "your_api_key_here"
      }
    }
  }
}

Installation Notes

  • NPM Package: The npx eodhd-screener-mcp command will automatically download and run the latest version

  • Global Install: Use npm install -g eodhd-screener-mcp for faster startup (no download needed)

  • Local Development: Use the local installation method if you're developing or customizing the server

Versioning

This package uses GitHub Release Tags for versioning:

  • Create a GitHub release with tag v1.2.3

  • The workflow automatically extracts 1.2.3 and publishes to NPM

  • Package.json version is automatically updated during CI/CD

  • This ensures consistent versioning between GitHub releases and NPM packages

Available Tools

1. screen_stocks

Screen stocks using EODHD market screener with filters and sorting.

Parameters:

  • apiKey (optional): Your EODHD API key (if not set via environment variable)

  • sort: Sort field (e.g., "market_capitalization.desc")

  • filters: Array of filter conditions

  • limit: Number of results (default: 50)

  • offset: Pagination offset

  • signals: Pre-defined signals filter

Example filters:

[
  ["market_capitalization", ">", 1000000000],
  ["sector", "=", "Technology"]
]

2. get_fundamentals

Get fundamental data for a specific stock.

Parameters:

  • apiKey (optional): Your EODHD API key (if not set via environment variable)

  • symbol (required): Stock symbol (e.g., "AAPL.US")

3. get_technical_indicator

Get technical indicator data for a stock.

Parameters:

  • apiKey (optional): Your EODHD API key (if not set via environment variable)

  • symbol (required): Stock symbol

  • function (required): Indicator name (sma, rsi, macd, bbands, etc.)

  • period: Period for the indicator

  • from: Start date (YYYY-MM-DD)

  • to: End date (YYYY-MM-DD)

4. multi_stage_screen

Perform multi-stage screening combining all three data sources.

Parameters:

  • apiKey (optional): Your EODHD API key (if not set via environment variable)

  • screenerFilters: Initial screener filters

  • screenerSort: Sort field for screener

  • screenerLimit: Limit for screener results

  • fundamentalsFilters: Object with fundamental criteria

  • technicalFilters: Array of technical indicator conditions

  • symbols: Optional list of symbols to analyze (bypasses screener)

Example fundamentals filters:

{
  "pe_ratio": { "max": 30 },
  "revenue_growth": { "min": 0.1 }
}

Example technical filters:

[
  {
    "indicator": "rsi",
    "period": 14,
    "condition": "<",
    "value": 30
  }
]

API Documentation

For more information about the EODHD API endpoints:

Development

# Run in development mode with auto-reload
npm run dev

# Test with MCP inspector
npm run inspector

Testing

This project includes comprehensive regression tests to ensure reliability:

# Install test dependencies
npm run test:install

# Run regression tests
npm test

# Run tests from main directory
npm run test

Test Coverage

  • ✅ Context Window Prevention - Ensures RSI200/SMA200 don't exceed 25k tokens

  • ✅ Dynamic Defaults - Validates period × 1.5 multiplier working

  • ✅ MCP Protocol - Tests all 4 tool endpoints

  • ✅ Data Quality - RSI bounds, date formats, response structures

  • ✅ Error Handling - API failures, invalid inputs, timeouts

CI/CD

  • PR Tests: Run on every pull request with demo API

  • Main Tests: Comprehensive testing after merge + daily API health checks

  • Manual Dispatch: Option to run full tests with real API key

See Tests README for detailed testing information.

Available Tools

4 tools
get_fundamentalsC

Get fundamental data for a specific stock symbol

Inputs: symbol (required), apiKey.

get_technical_indicatorC

Get technical indicator data for a specific stock

Inputs: symbol (required), function (required), to, from, +4 more.

multi_stage_screenC

Perform multi-stage screening: 1) Initial screen, 2) Filter by fundamentals, 3) Filter by technical indicators

Inputs: apiKey, symbols, screenerSort, screenerLimit, +3 more.

screen_stocksC

Screen stocks using EODHD market screener with filters and sorting

Inputs: sort, limit, apiKey, offset, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 4 tools

    Disambiguation4/5

    The four tools target largely distinct operations: fundamentals, technical indicators, basic screening, and multi-stage screening. The overlap between screen_stocks and multi_stage_screen is real but the descriptions make the intended use cases clear enough.

    Naming Consistency4/5

    All names use snake_case and are readable. Three follow a verb_noun pattern (get_fundamentals, screen_stocks, get_technical_indicator), while multi_stage_screen uses a different noun-first structure, which is a minor inconsistency.

    Tool Count5/5

    Four tools is a well-scoped size for a screener-focused server. Each tool covers a distinct capability and there is no obvious filler.

    Completeness4/5

    The surface covers the core screening workflow: single-stage screening, multi-stage screening, fundamentals, and technical indicators. Minor gaps exist around discovering available screener fields/filters or pagination, but agents can likely work around them.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides comprehensive stock screening capabilities through Yahoo Finance. Enables LLMs to screen stocks based on technical, fundamental, and options criteria, with support for watchlist management and result storage.
      4
      49
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides comprehensive stock screening and fundamental analysis capabilities using Finviz data, including earnings tracking, volume surge detection, technical indicators, dividend growth screening, and SEC filing retrieval.
      66
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to analyze stocks, screen markets, compare peers, read earnings calls, and track sector rotations using live financial data from Financial Modeling Prep.
      21
      PolyForm Noncommercial 1.0.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to screen and filter stock universe, compute custom quality scores, inspect score history, manage scoring systems, and generate shareable screen links, acting as the signed-in user.
      23
      MIT