IBKR MCP Server

IBKR MCP Server

By seriallazer GitHub

MCP Server for IBKR Client

ibkr mcp
Overview

what is IBKR MCP Server?

IBKR MCP Server is a FastAPI application designed to interact with the Interactive Brokers (IBKR) API to fetch portfolio details for clients.

how to use IBKR MCP Server?

To use the IBKR MCP Server, clone the repository, set up a virtual environment, install the required dependencies, configure your IBKR API credentials in a .env file, and run the application using Uvicorn.

key features of IBKR MCP Server?

  • FastAPI framework for efficient API development
  • Fetches real-time portfolio details from IBKR
  • API documentation available for easy access to endpoints

use cases of IBKR MCP Server?

  1. Accessing and managing investment portfolios through the IBKR API.
  2. Integrating with other financial applications for real-time data.
  3. Automating portfolio management tasks.

FAQ from IBKR MCP Server?

  • What is required to run the IBKR MCP Server?

You need Python, FastAPI, and IBKR API credentials to run the server.

  • Is there any documentation available?

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

  • Can I customize the server for my needs?

Yes, the server can be customized as per your requirements.

Content

IBKR MCP Server

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

Project Structure

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:

    git clone <repository-url>
    cd ibkr-mcp-server
    
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    
  3. Install dependencies:

    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:

    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.

No tools information available.
School MCP
School MCP by 54yyyu

A Model Context Protocol (MCP) server for academic tools, integrating with Canvas and Gradescope platforms.

canvas mcp
View Details
repo-template
repo-template by loonghao

A Model Context Protocol (MCP) server for Python package intelligence, providing structured queries for PyPI packages and GitHub repositories. Features include dependency analysis, version tracking, and package metadata retrieval for LLM interactions.

-

google-calendar mcp
View Details
strava-mcp
strava-mcp by jeremysilva1098

MCP server for strava

strava mcp
View Details

Model Context Protocol (MCP) server implementation for Rhinoceros/Grasshopper integration, enabling AI models to interact with parametric design tools

grasshopper mcp
View Details

MCP configuration to connect AI agent to a Linux machine.

security mcp
View Details

AI assistant built with Streamlit, NVIDIA NIM (LLaMa 3.3:70B) / Ollama, and Model Control Protocol (MCP).

python mcp
View Details