IBKR MCP Server logo

IBKR MCP Server

by seriallazer

This is a FastAPI application designed to interact with the Interactive Brokers (IBKR) API. It allows users to fetch portfolio details.

View on GitHub

Last updated: N/A

What is IBKR MCP Server?

The IBKR MCP Server is a FastAPI-based application that serves as an interface to the Interactive Brokers API. It provides endpoints to retrieve portfolio information.

How to use IBKR MCP Server?

To use the server, clone the repository, set up a virtual environment, install dependencies from requirements.txt, configure your IBKR API credentials in a .env file, and then run the application using uvicorn app.main:app --reload. Access the API documentation at http://localhost:8000/docs.

Key features of IBKR MCP Server

  • Fetches portfolio details from IBKR

  • Uses FastAPI for API development

  • Configurable via environment variables

  • Includes API documentation

  • Well-structured project layout

Use cases of IBKR MCP Server

  • Automated portfolio tracking

  • Integration with financial dashboards

  • Building custom trading applications

  • Data analysis of investment portfolios

FAQ from IBKR MCP Server

What is the purpose of this server?

This server allows you to easily fetch portfolio details from your Interactive Brokers account using a simple API.

What are the dependencies required to run this server?

The server requires dependencies listed in the requirements.txt file, such as FastAPI, uvicorn, and potentially others for interacting with the IBKR API.

How do I configure the server with my IBKR API credentials?

You need to create a .env file in the root directory and add your IBKR API credentials as environment variables.

Where can I find the API documentation?

The API documentation is available at http://localhost:8000/docs once the server is running.

Is this project open-source?

Yes, this project is licensed under the MIT License.