Income Screener MCP Server
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., "@Income Screener MCP Serverscreen put candidates for T and VZ with at least 10% annual yield"
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.
Income Screener MCP Server
A Python MCP server that connects Claude to E*Trade via pyetrade for income-oriented trading research:
Real-time quotes (equities, preferreds, baby bonds)
Option chain lookups
Put-sell candidate screening with annualized yield filters
Portfolio position monitoring
Architecture
Claude (Claude Code / Claude Desktop)
↓ MCP protocol (stdio)
server.py (FastMCP + pyetrade)
↓ OAuth1 REST
E*Trade API (api.etrade.com)Prerequisites
An active E*Trade brokerage account.
Developer API keys from developer.etrade.com. Production keys take 3–5 business days to approve.
Python 3.10+.
Setup
pip install -r requirements.txt
cp .env.example .env
# edit .env and set ETRADE_CONSUMER_KEY / ETRADE_CONSUMER_SECRET
python auth.pyauth.py walks the OAuth1 flow: it prints a URL (and tries to open your browser), you authorize the app on E*Trade's site, paste the verification code back into the terminal, and the resulting access tokens are written into .env.
Note: E*Trade access tokens expire at midnight ET. Re-run
python auth.pyeach morning before using the server.
Running the server
python server.pyThe server speaks MCP over stdio and is designed to be launched by an MCP client (Claude Desktop, Claude Code, etc.) rather than run interactively.
Claude Desktop config
Add to claude_desktop_config.json:
{
"mcpServers": {
"income-screener": {
"command": "python",
"args": ["server.py"],
"cwd": "/home/amahpour/code/pyetrade-mcp"
}
}
}Tools
Tool | Description |
| Real-time quotes for up to 25 symbols. |
| Available option expirations for a symbol. |
| Pull an option chain window. |
| Rank put-sell income candidates by annualized yield. |
| Positions for the first account on the authenticated profile. |
Annualized yield
screen_put_candidates computes (bid / strike) * (365 / DTE) and filters by min_annual_yield. Results sort highest-yield first.
Default watchlists
If you call screen_put_candidates with no symbols, it uses a built-in equity list (HPQ, HPE, PFE, T, VZ, F, INTC, DOW, KHC, WBA). A preferred/baby-bond watchlist is defined in server.py for use with get_quote.
Notes
server.pyusesdev=False(production API). E*Trade's sandbox does not return real option chain data.Preferred stock symbol formatting (e.g.
JPM-CvsJPMpC) may vary; test against your specific tickers.Calls in
screen_put_candidatesare serialized with a 0.5s delay to stay under E*Trade's rate limits.
Files
.
├── README.md
├── LICENSE
├── requirements.txt # pyetrade, mcp[cli], python-dotenv
├── .env.example # template — copy to .env and fill in
├── auth.py # one-shot OAuth token refresh
└── server.py # FastMCP server + all 5 toolsThis server cannot be installed
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/amahpour/pyetrade-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server