trackmcp
Back to directory
seriallazer

ibkr-mcp-server

View on GitHub

MCP Server for IBKR Client

51 stars PythonDeveloper Kits Updated Oct 30, 2025

Documentation

IBKR MCP Server

This project is a FastAPI application that interacts with the Interactive Brokers (IBKR) API to fetch portfolio details.

Project Structure

code
ibkr-mcp-server
├── app
│   ├── __init__.py
│   ├── main.py
│   ├── api
│   │   ├── __init__.py
│   │   └── endpoints
│   │       ├── __init__.py
│   │       └── portfolio.py
│   ├── core
│   │   ├── __init__.py
│   │   └── config.py
│   ├── models
│   │   ├── __init__.py
│   │   └── portfolio.py
│   └── services
│       ├── __init__.py
│       └── ibkr_service.py
├── requirements.txt
├── .env
└── README.md

Setup Instructions

1. Clone the repository:

bash
git clone 
   cd ibkr-mcp-server

2. Create a virtual environment:

bash
python -m venv venv
   source venv/bin/activate  # On Windows use `venv\Scripts\activate`

3. Install dependencies:

bash
pip install -r requirements.txt

4. Set up environment variables:

Create a `.env` file in the root directory and add your IBKR API credentials.

5. Run the application:

bash
uvicorn app.main:app --reload

Usage

Once the server is running, you can access the API endpoints to fetch portfolio details. The API documentation will be available at `http://localhost:8000/docs`.

License

This project is licensed under the MIT License.

Frequently asked questions

What is ibkr-mcp-server?

ibkr-mcp-server is MCP Server for IBKR Client

How do I install ibkr-mcp-server?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is ibkr-mcp-server open source?

Yes — it is hosted on GitHub at https://github.com/seriallazer/ibkr-mcp-server and has 51 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP