claude-fidelity-mcp
Click on "Install 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., "@claude-fidelity-mcpshow me my current portfolio positions and account balances"
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.
@tasque/fidelity-mcp
MCP server for Fidelity brokerage accounts via Playwright browser automation.
Warning — Fidelity has no public API. This automates the web interface, which may violate their Terms of Service.
Tools
Tool | Description |
| Log in to Fidelity (supports TOTP and SMS 2FA) |
| Submit SMS 2FA code |
| List all accounts with balances |
| Get all holdings across accounts |
| Transfer cash between Fidelity accounts |
| Get current stock/ETF price |
| Place a buy/sell order (dry_run default) |
| Place multiple orders sequentially (dry_run default) |
| Check browser session status |
| Close session and save cookies |
| Save browser state to disk |
| Take a full-page screenshot |
| Get page URL and interactive elements |
Environment Variables
Variable | Required | Description |
| Yes | Fidelity login username |
| Yes | Fidelity login password |
| No | Base32 TOTP secret for automatic 2FA |
| No | Set to |
| No | Session persistence directory (default: |
| No | Session file identifier for multiple accounts |
| No | Set to |
| No | Default timeout in ms (default: |
Auth Setup
Set FIDELITY_USERNAME and FIDELITY_PASSWORD. For automatic 2FA, get your TOTP secret from Fidelity Security Settings > Authenticator app > "Can't scan the code?" and set FIDELITY_TOTP_SECRET. Without TOTP, the server falls back to SMS 2FA (requires calling fidelity_submit_2fa).
Requires Playwright Firefox: npx playwright install firefox
Development
npm install
npx playwright install firefox
npm run build
npm start # stdio modeMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TylerFlar/claude-fidelity-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server