easy-equities-mcp
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., "@easy-equities-mcp show me my Easy Equities holdings for personal"
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.
easy-equities-mcp
An MCP server for Easy Equities and Satrix that lets any MCP-compatible client (e.g. Claude Desktop, Claude Code, Continue) query your investment accounts on demand.
Built on top of the unofficial
easy-equities-client
Python library.
Unofficial. Not affiliated with Easy Equities or Satrix. Intended forpersonal use. You are responsible for your credentials and for respecting Easy Equities' terms of service.
Features
Multiple accounts — configure any number of Easy Equities or Satrix logins side-by-side and reference them by name.
No credentials in chat — usernames and passwords are loaded from environment variables or a
.envfile, never passed through the MCP client.Cookie persistence — successful logins are cached to disk so subsequent starts don't re-authenticate (and won't retrigger OTP).
Refresh from chat — when cookies expire, the MCP client can refresh a session with a single tool call; no terminal required.
CLI fallback — an
easy-equities-mcp-logincommand is included for seeding cookies before the MCP client is running.
Related MCP server: tiingo-mcp
Tools exposed
Tool | Description |
| List active logged-in session names. |
| Re-authenticate one session from config and save fresh cookies. |
| Re-authenticate every configured session. |
| List all accounts for a session (id, name, trading currency). |
| Holdings for an account. |
| Valuation summary for an account. |
| Transactions for the last year. |
| Transactions between two |
| Historical prices. |
Installation
Requires Python 3.13+. The recommended runner is
uv.
Option A — Run directly with uvx (zero install)
uvx easy-equities-mcp # run the MCP server
uvx easy-equities-mcp-login --listOption B — pip install
pip install easy-equities-mcpOption C — From source
git clone https://github.com/heinrich321/easyequities-mcp.git
cd easyequities-mcp
uv sync
uv run easy-equities-mcpConfiguration
Define your sessions
Each session is defined by three environment variables:
EE_SESSION_<NAME>_USERNAME=...
EE_SESSION_<NAME>_PASSWORD=...
EE_SESSION_<NAME>_PLATFORM=easyequities # or "satrix" — defaults to easyequities<NAME> is any label you choose (letters, digits, underscores). It becomes
the lowercased session key you pass to the MCP tools. You can define as many
sessions as you want.
Example:
EE_SESSION_PERSONAL_USERNAME=you@example.com
EE_SESSION_PERSONAL_PASSWORD=hunter2
EE_SESSION_PERSONAL_PLATFORM=easyequities
EE_SESSION_TFSA_USERNAME=you@example.com
EE_SESSION_TFSA_PASSWORD=hunter2
EE_SESSION_TFSA_PLATFORM=satrixYou can reference personal and tfsa from chat after that.
Where to put the config
The server loads the first .env file it finds, in this order:
$EE_MCP_ENV_FILE(an explicit path)~/.config/easy-equities-mcp/.env— recommended for personal use./.envin the current working directory (handy for local dev)
Existing environment variables always win, so you can also skip the file and put everything in your MCP client's config block — see below.
Optional settings
Variable | Default | Description |
| unset | Explicit path to a |
|
| Where session cookies are cached. |
Using it with Claude Desktop
Install the server (see above).
Put your session credentials in
~/.config/easy-equities-mcp/.env, or define them in theenvblock below.Edit your Claude Desktop config:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the server. If you installed via
pip/uvx:{ "mcpServers": { "easy-equities": { "command": "uvx", "args": ["easy-equities-mcp"] } } }Or, equivalently with credentials in the config (skip the
.envfile):{ "mcpServers": { "easy-equities": { "command": "uvx", "args": ["easy-equities-mcp"], "env": { "EE_SESSION_PERSONAL_USERNAME": "you@example.com", "EE_SESSION_PERSONAL_PASSWORD": "hunter2", "EE_SESSION_PERSONAL_PLATFORM": "easyequities" } } } }Or, from a local checkout:
{ "mcpServers": { "easy-equities": { "command": "uv", "args": ["run", "--directory", "/absolute/path/to/easyequities-mcp", "easy-equities-mcp"] } } }Restart Claude Desktop.
Typical chat flow
You: Show me my current holdings.
Claude: [calls list_sessions → list_accounts("personal") → get_holdings("personal", "12345")]When cookies eventually expire:
You: My personal session keeps failing.
Claude: [calls refresh_session("personal")]No terminal required.
CLI
easy-equities-mcp-login is a small helper for when the MCP client isn't
running yet — for example, if you want to seed cookies after a fresh OTP
challenge.
easy-equities-mcp-login --list # list configured sessions
easy-equities-mcp-login personal # log in and save cookiesOTP / 2FA
The underlying library does a plain form POST and does not implement EE's OTP flow. In practice EE only challenges on a new device/IP and then sets a trust cookie, so the typical workaround is:
Log in once via the EE website in a browser on the same machine (satisfies the OTP challenge and marks the device as trusted).
Run
easy-equities-mcp-login <name>or call therefresh_sessionMCP tool — the Python client inherits the trusted-device status and saves its own cookies.From then on, the MCP server reuses those cookies on every restart.
If EE still challenges the CLI login after trusting the device in a browser, please open an issue with the error message so OTP support can be added.
Security notes
The server stores session cookies under
~/.easy-equities-mcp/with mode0700/0600. Anyone with access to that directory can impersonate the logged-in user..envfiles should be kept at0600and never committed. The repo's.gitignoreexcludes them by default.No credentials are ever sent through the MCP channel itself. Only metadata like session names.
Development
git clone https://github.com/heinrich321/easyequities-mcp.git
cd easyequities-mcp
uv sync
uv run pytestThe server uses stdio transport. You can poke at it directly with JSON-RPC:
printf '%s\n%s\n%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized","params":{}}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' \
| uv run easy-equities-mcpCredits
easy-equities-clientby Dean Malan — the library this server wraps.Model Context Protocol by Anthropic.
License
Available Tools
9 toolsget_historical_pricesA
Get historical prices for an instrument.
Args: session: The session name (from list_sessions). contract_code: The instrument contract code, e.g. "EQU.ZA.SYGJP". period: One of "OneMonth", "ThreeMonths", "SixMonths", "OneYear", "Max".
Inputs: session (required), contract_code (required), period. Returns: result
get_holdingsA
Get holdings (stocks/ETFs) for an account.
Args: session: The session name (from list_sessions). account_id: The account ID (from list_accounts). include_shares: If true, fetch number of shares per holding (slower).
Inputs: session (required), account_id (required), include_shares. Returns: result
get_transactionsA
Get transactions for the last year for an account.
Args: session: The session name (from list_sessions). account_id: The account ID (from list_accounts).
Inputs: session (required), account_id (required). Returns: result
get_transactions_for_periodA
Get transactions for an account between two dates.
Args: session: The session name (from list_sessions). account_id: The account ID (from list_accounts). start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format.
Inputs: session (required), end_date (required), account_id (required), start_date (required). Returns: result
get_valuationsA
Get the valuation summary for an account.
Args: session: The session name (from list_sessions). account_id: The account ID (from list_accounts).
Inputs: session (required), account_id (required). Returns: result
list_accountsA
List all accounts for a session.
Args: session: The session name (from list_sessions).
Inputs: session (required). Returns: result
list_sessionsA
List all active logged-in sessions.
Inputs: no named parameters. Returns: result
refresh_all_sessionsA
Re-authenticate every configured session. Returns a per-session report.
Inputs: no named parameters. Returns: result
refresh_sessionA
Re-authenticate one session using credentials from the environment/.env.
Call this from chat when a tool call fails because cookies have expired or to force a fresh login. Credentials are never passed through chat.
Args: session: The session name, e.g. "personal".
Inputs: session (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools are clearly distinct (list_sessions vs list_accounts vs get_holdings), but refresh_session and refresh_all_sessions overlap in purpose (one is a subset of the other), and get_transactions vs get_transactions_for_period are similar except for the date range. Descriptions mitigate ambiguity well.
All tool names follow a consistent verb_noun pattern in snake_case: list_*, refresh_*, get_*. The verbs clearly reflect the action, and no mixed naming conventions or style inconsistencies are present.
With 9 tools, the server is well-scoped for its apparent purpose of managing sessions and retrieving account/investment data. Each tool earns its place, and the count is neither sparse nor overwhelming.
The tool surface covers session management, account listing, holdings, valuations, transactions, and historical prices—a solid read-only domain. Minor gaps exist, such as no account detail endpoint or instrument search, but agents can complete common workflows without major dead ends.
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Query your real net worth, spending, transactions, budgets and portfolio from any MCP client.
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with Interactive Brokers TWS/Gateway via natural language for portfolio management and market data retrieval. It provides tools for account summaries, historical data, and a secure two-step confirmation process for placing and canceling orders.6MIT
- AlicenseAqualityBmaintenanceAn MCP server that wraps the Tiingo financial data API, enabling access to stocks, forex, crypto, news, fundamentals, and corporate actions through natural language.1711MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for accessing and managing Banktivity personal finance data, enabling account, transaction, and budget operations through natural language.3MIT
- FlicenseNot gradedqualityBmaintenanceAn MCP server that turns Interactive Brokers into a question-answering portfolio analyst.4-