Skip to main content
Glama
open-fin-mcp

open-fin-mcp

by HareRam123

open-fin-mcp

A FastMCP server for financial data, company context, market information, financial modelling, and valuation. It includes a deterministic sample provider, so all 15 tools can be exercised before a live data source is connected.

Tools

Group

Tools

Data

get_income_statement, get_balance_sheet, get_cashflow_statement, get_financial_metrics, get_segment_financials

Context

get_management_guidance, get_concall_summary, get_company_events

Market

get_market_data, get_capital_structure

Modelling

project_financials, validate_financial_model

Valuation

calculate_wacc, calculate_dcf, dcf_sensitivity

Related MCP server: Financial Data MCP Server

Setup

Python 3.11 or newer is required.

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"

Run

Start the default STDIO transport for local MCP clients:

open-fin-mcp

Start Streamable HTTP for development:

OPEN_FIN_MCP_TRANSPORT=http open-fin-mcp

The MCP endpoint is then available at http://127.0.0.1:8000/mcp. Host and port can be changed with OPEN_FIN_MCP_HOST and OPEN_FIN_MCP_PORT.

FastMCP's CLI can also use the included project configuration:

fastmcp run

Test

pytest
ruff check .

Connect Live Data

The sample implementation lives in src/open_fin_mcp/providers.py. Implement the FinanceProvider protocol there, then pass the new provider to create_server() in src/open_fin_mcp/server.py. Modelling and valuation code is provider-independent.

Available Tools

15 tools
calculate_dcfA

Calculate enterprise, equity, and per-share value using a terminal-growth DCF.

Inputs: assumptions (required). Returns: object

calculate_waccC

Calculate weighted average cost of capital from decimal-rate inputs.

Inputs: tax_rate (required), cost_of_debt (required), cost_of_equity (required), market_value_debt (required), +1 more. Returns: object

dcf_sensitivityB

Calculate a per-share DCF sensitivity matrix across WACC and growth rates.

Inputs: assumptions (required), discount_rates (required), terminal_growth_rates (required). Returns: object

get_balance_sheetB

Get historical balance sheets for a public company ticker.

Inputs: ticker (required), limit, period. Returns: object

get_capital_structureC

Get cash, debt, net debt, and diluted shares outstanding.

Inputs: ticker (required). Returns: object

get_cashflow_statementB

Get historical cash flow statements for a public company ticker.

Inputs: ticker (required), limit, period. Returns: object

get_company_eventsC

Get upcoming and recent company events.

Inputs: ticker (required). Returns: object

get_concall_summaryC

Get an earnings-call summary with themes, risks, and sentiment.

Inputs: ticker (required), quarter. Returns: object

get_financial_metricsC

Get profitability, returns, margins, and leverage metrics.

Inputs: ticker (required), period. Returns: object

get_income_statementC

Get historical income statements for a public company ticker.

Inputs: ticker (required), limit, period. Returns: object

get_management_guidanceC

Get the latest quantitative management guidance and outlook.

Inputs: ticker (required). Returns: object

get_market_dataC

Get the latest price and market capitalization for a ticker.

Inputs: ticker (required), currency. Returns: object

get_segment_financialsA

Get revenue and operating income by reported business segment.

Inputs: ticker (required), period. Returns: object

project_financialsB

Project revenue, EBIT, NOPAT, and unlevered free cash flow.

Inputs: assumptions (required). Returns: object

validate_financial_modelD

Validate required fields, numeric values, and basic model consistency.

Inputs: model (required). Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 15 tools

    Disambiguation4/5

    Most tools target clearly distinct data areas (income statement, balance sheet, cash flow, segments, guidance, events). Minor overlap exists between get_capital_structure and get_balance_sheet, and between get_financial_metrics and get_capital_structure, but descriptions are specific enough to avoid serious confusion.

    Naming Consistency4/5

    The set largely follows a clear get_* / calculate_* / project_* / validate_* snake_case pattern, making tool purposes predictable. The one noticeable deviation is 'dcf_sensitivity', which would fit better as 'calculate_dcf_sensitivity' to match the other calculate_* tools.

    Tool Count5/5

    At 15 tools, the server sits right at the upper edge of the ideal range, and each tool covers a meaningful part of the financial analysis and valuation workflow. No tool feels redundant or trivial.

    Completeness4/5

    The server covers the core financial-statement data, key metrics, management insights, and the full DCF modeling chain from projection through sensitivity. Minor gaps exist, such as no direct analyst-estimate tool or historical price series, but agents can still complete typical valuation workflows.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Enables querying real-time and historical financial market data for stocks, options, forex, and crypto, including quotes, trades, technical indicators, and reference data through a set of MCP tools.
      71
      3
      MIT
    • F
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to retrieve stock market and company financial data, including quotes, overviews, ratios, historical prices, income statements, and stock comparisons, via a set of tools.
      7
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables querying company fundamentals, annual financial metrics, historical price data, news sentiment, officers, and SEC filings through MCP tools, with a web UI and embedded MCP App resources for browsing and testing those tools. It also supports elicitation and sampling for interactive client flows.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents and backend workflows to access standardized multi-market financial data, technical indicators, fundamentals, news, filings, money flow, and CSV/JSON exports through MCP tools and HTTP endpoints.
      -