mcpField
F
Finmcp   Finance Mcp

Finmcp Finance Mcp

Local
github.com/Steve-syFinance1Updated 28w ago

About Finmcp Finance Mcp

FinMCP is a TypeScript MCP server that provides Yahoo Finance data for AI assistants, covering markets, companies, and cross-asset quotes. It supports local use and Docker-based HTTP deployment, with caching, data validation, and optional API-key protection.

Key features

  1. 0115 financial data tools
  2. 02Stock, options, crypto, and forex data
  3. 03Company financials and earnings
  4. 04Caching and data quality checks
  5. 05Local stdio and streaming HTTP transports
  6. 06Optional API-key authentication

Use cases

  1. 01Retrieve stock quotes and historical prices
  2. 02Review company statements and earnings
  3. 03Check news, options, and market sentiment
  4. 04Deploy a protected remote finance endpoint

MCP support

FinMCP exposes Yahoo Finance data tools to MCP clients. It can run locally over stdio or as an HTTP service, with optional API-key protection for public deployments.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Yahoo Finance MCP Server (Cloud)

Production-grade (Cloud) financial data infrastructure for AI assistants with enterprise-grade resilience, comprehensive data quality validation, and production-ready monitoring.

FinMCP Demo

Deploy to the Cloud (Docker-based)

FinMCP ships with a Dockerfile and is fully Docker-based, so it runs on any platform that supports containers — Railway, Render, Fly.io, DigitalOcean App Platform, a VPS, or anything else.

Easiest option — Railway (recommended for beginners):

  1. Sign up at railway.com (referral link — gives you free credits)
  2. New Project → Deploy from GitHub repo → paste https://github.com/Steve-sy/finmcp
  3. Railway auto-detects the Dockerfile and builds + deploys automatically
  4. (Optional) Add YF_MCP_API_KEY in Railway's Variables tab to protect your endpoint
  5. Go to Settings → Networking → Generate Domain to get your public URL
  6. Your MCP endpoint is live at: https://<your-app>.up.railway.app/mcp

Other platforms (Render, Fly.io, VPS, etc.):

Any platform that can run a Docker container works. Point it at this repo, and set the start command to node dist/http.js. The server listens on the PORT environment variable (automatically injected by most platforms) and defaults to 3333.

Optional: protect public deployments with YF_MCP_API_KEY and connect using ...?key=YOUR_SECRET.

Claude Desktop Integration (Cloud)

Customize -> Connectors -> Add custom connector: Name: FinMCP Remote MCP Server URL: your cloud https url: https:///mcp


Local Installation

npm install -g @mustafa.ramx/finmcp

Quick Start

Start Server
finmcp
Claude Desktop Integration (Local — npm)

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "finmcp": {
      "command": "finmcp"
    }
  }
}
Claude Desktop Integration (Local — Docker)

If you prefer Docker over installing Node.js, first build the image:

docker build -t finmcp .

Then add to your claude_desktop_config.json:

{
  "mcpServers": {
    "finmcp": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "finmcp", "node", "dist/index.js"]
    }
  }
}

Note: ChatGPT Desktop MCP support may vary — check its documentation for custom connector configuration.

Other AI Tools

Cursor AI / Cline AI:

{
  "mcpServers": {
    "finmcp": {
      "command": "finmcp"
    }
  }
}

Features

  • 15 Financial Data Tools: Stocks, options, crypto, forex, company intelligence, market sentiment
  • Circuit Breaker Pattern: Automatic recovery from API failures
  • Multi-Strategy Rate Limiting: Token bucket + adaptive + per-endpoint limiting
  • Data Quality Scoring: Completeness and integrity validation
  • Comprehensive Caching: Graceful fallback with high cache hit ratio (70-90%)
  • Streaming HTTP Transport: Run locally or deploy to the cloud (Docker/Railway) for HTTPS access
  • Optional API Key Auth: Protect public deployments with YF_MCP_API_KEY
  • Enterprise Testing: Unit, integration, e2e, and chaos tests

Available Tools

Market Data
  • get_quote - Real-time quotes with quality reporting
  • get_historical_prices - OHLCV data with date ranges
  • get_historical_prices_multi - Batch historical data
Company Intelligence
  • get_quote_summary - Comprehensive company overview
  • get_balance_sheet - Assets, liabilities, equity
  • get_income_statement - Revenue, expenses, net income
  • get_cash_flow_statement - Operating, investing, financing cash flows
  • get_earnings - Quarterly earnings with estimates
  • get_analysis - Analyst recommendations and price targets
  • get_major_holders - Institutional and insider ownership
Market Sentiment
  • get_news - Latest articles with relevance scoring
  • get_options - Options chains with Greeks
  • get_trending_symbols - Top movers with volume metrics
  • screener - Filter stocks by 12+ criteria
Cross-Asset
  • get_crypto_quote - Cryptocurrency prices
  • get_forex_quote - Currency pair exchange rates

Documentation

For complete documentation including configuration, usage examples, architecture details, and best practices:

View Full Documentation on GitHub

Documentation includes:

Configuration

Create a config.json file:

{
  "rateLimit": {
    "requestsPerMinute": 60,
    "requestsPerHour": 1500
  },
  "cache": {
    "ttlQuotes": 60000,
    "maxCacheSize": 1000
  },
  "circuitBreaker": {
    "failureThreshold": 5,
    "monitoringWindow": 60000,
    "successThreshold": 3
  }
}

For detailed configuration options, see Configuration Guide.

Performance

MetricValue
Quote queries60 requests/minute (configurable)
Batch operationsUp to 100 symbols per request
Cache hit ratio70-90% for frequently accessed symbols
Cold start time<500ms
Test coverage95%+ for core middleware

License

MIT

Links

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.