home / mcp / fi mcp server

FI MCP Server

Model Context Protocol (MCP) server for the Financial Independence community

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bbusenius-fi-mcp": {
      "command": "python",
      "args": [
        "-m",
        "fi_mcp.server"
      ],
      "env": {
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}

FI-MCP automatically generates MCP tools from the FI function library using introspection. This enables AI assistants to call the exact financial independence calculations you use, with built-in type safety and argument validation to reduce hallucinations and improve traceability of results.

How to use

You can interact with FI-MCP through an MCP client to access every FI calculation tool. The AI assistant will automatically select the appropriate FI tool for your question, and you can browse tool documentation to understand what each tool does, its parameters, and credits.

How to install

Prerequisites: Python and pip must be installed on your system.

Development setup steps:

# Clone the repository
cd /path/to/FI-MCP

# Install package with dev dependencies in editable mode
pip install -e .[dev]

Production installation steps:

pip install .

Configuration for AI editors

{
  "mcpServers": {
    "fi-mcp": {
      "command": "python",
      "args": ["-m", "fi_mcp.server"],
      "env": {
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}

Notes and next steps

After configuring, restart your editor. The AI assistant will have access to all FI calculation tools and can provide full documentation for each function, including what it calculates, parameter descriptions, and credits.

Additional configuration and usage notes

The server exposes each FI function as an MCP tool with type-safe schemas and parameter descriptions. Function documentation is available via internal help URIs and can be browsed by asking for documentation on a specific function.