Broker Buddy MCP Server
Provides access to Coinbase portfolio data, allowing retrieval of account holdings.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Broker Buddy MCP Servershow my Angel One portfolio holdings"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Broker Buddy MCP Server
FastMCP server exposing brokerage and market tools (Angel One, Coinbase, News) via the Model Context Protocol (MCP).
Tools
Angel One:
get_portfolio_holdingsexecute_delivery_trade
Coinbase:
get_portfolio
External:
scrape_stock_news_summaries
System:
tool:health
Related MCP server: Zerodha Trading MCP
Quick setup
Prereqs: Python 3.13+ and
uv.Install:
git clone <repository-url>
cd broker-buddy-mcp-server
make setupRun:
make run
# or
uv run broker-buddy-mcpDefault: http://127.0.0.1:9000/mcp/.
Required headers
x-user-id: unique user idx-scopes: comma-separated scopes (e.g.,portfolio:read,portfolio:trade)
.env example
Create a .env in the repo root. See src/configs/angel_one_secrets.py for full field docs.
# ---- Angel One (required) ----
ANGELONE_HISTORY_API_KEY=...
ANGELONE_HISTORY_SECRET_KEY=...
ANGELONE_TRADING_API_KEY=...
ANGELONE_TRADING_SECRET_KEY=...
ANGELONE_TOTP_SECRET=...
ANGELONE_CLIENT_CODE=...
ANGELONE_PIN=...
# Optional (for eDIS flows)
# ANGELONE_DP_ID=
# ANGELONE_BO_ID=
# ---- Coinbase (if using Coinbase tools) ----
COINBASE_API_KEY=...
COINBASE_API_SECRET=...
# ---- Server (optional) ----
FASTMCP_HOST=127.0.0.1
FASTMCP_PORT=9000
FASTMCP_PATH=/mcp/
# Hide tools by tags (optional, comma-separated). Leave empty to show all.
EXCLUDE_TOOLS_TAGS=Cursor config (optional)
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"broker-buddy-mcp": {
"transport": "http",
"url": "http://127.0.0.1:9000/mcp/",
"headers": {
"x-user-id": "sample-user-123",
"x-scopes": "portfolio:read,portfolio:trade"
}
}
}
}Notes
Keep your
.envprivate; never commit secrets.Scopes control access; set minimally required scopes.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for OpenMM — exposes market data, account, trading, and strategy tools to AI agents
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that interfaces with Alpaca trading API, allowing users to manage portfolios, place trades, and access market data through natural language interactions.835MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to interact with the Zerodha trading platform, allowing users to execute trades, view portfolio holdings, and manage positions through a standardized interface.3MIT
- FlicenseNot gradedqualityCmaintenanceA FastMCP server that exposes tools for news aggregation, financial market data, fitness tracking, Spotify music data, and email notifications, usable directly from Claude via the Model Context Protocol.1-
- FlicenseNot gradedqualityCmaintenanceModel Context Protocol (MCP) server for E*TRADE API, enabling LLMs like Claude to retrieve stock and options market data.-