Ibkr MCP Server
Interactive Brokers MCP Server for algorithmic trading with 0DTE SPX options focus
Installation
npx ibkr-mcp-serverAsk AI about Ibkr MCP Server
Powered by Claude Β· Grounded in docs
I know everything about Ibkr MCP Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
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.
