
ibkr mcp server
MCP Server for IBKR Client
Repository Info
About This Server
MCP Server for IBKR Client
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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
-
Clone the repository:
git clone <repository-url> cd ibkr-mcp-server -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate` -
Install dependencies:
pip install -r requirements.txt -
Set up environment variables: Create a
.envfile in the root directory and add your IBKR API credentials. -
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.
Quick Start
Clone the repository
git clone https://github.com/seriallazer/ibkr-mcp-serverInstall dependencies
cd ibkr-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.