ferdousbhai/investor-agent
A Model Context Protocol server for building an investor agent
What it solves
investor-agent is a financial research server for long-term investors. It plugs into AI assistants through the Model Context Protocol (MCP) — a standard way for AI tools to call external services — so you can ask for financial data and get real numbers back inside your chat instead of looking them up elsewhere. It covers stock fundamentals, price history, options, market movers, upcoming earnings, market sentiment, and technical indicators.
How it works
The project is an MCP server: it exposes a set of tools that an MCP-capable AI client (like Claude Code) can call on demand. It ships seven tools: get_stock_info (fundamentals such as price, financials, earnings, ownership, analyst ratings, and profile), historical_prices (OHLCV price history, defaulting to 1 year of weekly data), get_options (options contracts sorted by open interest), market_movers (top gaining, losing, or most active stocks), earnings_calendar (upcoming reports from NASDAQ), fear_greed_index (CNN stock market or crypto sentiment), and technical_indicator (SMA, EMA, RSI, MACD, or Bollinger Bands).
You can use it two ways. Hosted: a free instance runs on Cloudflare Workers at https://investor.ferdousbhai.com/mcp — no account or install needed; just point your MCP client at that address. Local: the package isn't published to npm, so you clone the repository, install dependencies with pnpm, build it, and point your client at the built entry point (dist/index.js) over stdio. You can also deploy your own copy to Cloudflare Workers using the included config.
Who it's for
Long-term investors who use MCP-capable AI assistants and want financial research data pulled directly into their conversations. Also developers who want to self-host the server or deploy their own instance on Cloudflare Workers.
Highlights
- Seven financial research tools: fundamentals, price history, options, market movers, earnings calendar, fear/greed sentiment, and technical indicators
- Free hosted instance — no account, no install, works with any MCP client that speaks Streamable HTTP
- Self-hostable: run locally from source or deploy to Cloudflare Workers with the included config
- MIT licensed
Related
- Project
- Project
- Project
- Project
- Project