Skip to main content
Glama

Investo 📈

CI License: MIT Python 3.10+ MCP Cursor Directory

An AI investment-analysis agent you run from Claude or Cursor.

Give Investo a company name — Indian (NSE/BSE) or global — and it gathers public financial data and produces a full analysis: what the company does, its financials & ratios, a competitor comparison, DCF intrinsic value, economic moat, risks, management, recent news, SWOT seeds, and a 0–100 investment rating.

Investo is a Model Context Protocol (MCP) server. It exposes tools to an AI client (Claude Code, Claude Desktop, Cursor); the client calls those tools and writes the analysis narrative grounded in the structured data Investo returns.

Primary focus: Indian companies listed on NSE (.NS) and BSE (.BO). US/global companies are supported too.


What it produces

For any company, Investo supplies the evidence for:

  1. Domain / sector — what the business does and its sub-domains.

  2. Financials & ratios — income statement, balance sheet, cash flow + valuation, profitability, leverage, liquidity, growth, cash-flow ratios.

  3. Competitor analysis — auto-compares against sector peers (e.g. Infosys → TCS, Wipro, HCL, Tech Mahindra, LTIMindtree).

  4. Industry intelligence — sub-domains, demand drivers, CAGR, risks.

  5. News analysis — recent headlines categorized (earnings, M&A, management, legal, product/AI).

  6. Management analysis — executives, promoter/insider holding, capital allocation.

  7. DCF valuation — intrinsic value/share, margin of safety, expected return.

  8. Economic moat — brand / network / cost / scale / switching-cost signals.

  9. Risk analysis — debt, currency, concentration, regulation, tech obsolescence.

  10. Rating out of 100 — a balanced 11-bucket score with per-bucket rationale.

Rating buckets (out of 100)

Growth

Profitability

Cash Flow

Debt

Valuation

Moat

Management

Industry

Innovation

Risk

ESG*

15

15

10

10

15

10

10

5

5

5

5*

*ESG is optional; when unavailable the remaining buckets renormalize to 100.


Related MCP server: Trading MCP Server

Install

Requires Python 3.10+.

git clone https://github.com/YashvantHange/Investo
cd Investo
python -m venv .venv
# Windows: .venv\Scripts\activate   |   macOS/Linux: source .venv/bin/activate
pip install -e .

No API keys are required — Investo works out of the box using free Yahoo Finance data and Google/Yahoo news. Optional keys (Alpha Vantage / FMP / Finnhub) enable richer/fallback data; copy .env.example to .env and fill in any you have.


Try it from the command line

investo analyze "Infosys"
investo analyze "Reliance Industries"
investo analyze "Tata Motors"
investo analyze AAPL
investo search "tata motors"

Use it from Claude Code / Cursor

Do the one-time setup (creates the venv the launcher looks for):

python -m venv .venv
.venv\Scripts\pip install -e .     # macOS/Linux: .venv/bin/pip install -e .

Claude Code — this repo ships a project-scoped .mcp.json that runs python scripts/mcp_launcher.py. No paths to edit — the launcher finds the project's .venv itself and works on Windows/macOS/Linux. Opening the folder in Claude Code offers to load the investo server (approve on first use); the included CLAUDE.md makes the agent introduce itself as Investo.

Cursor — Investo is in the Cursor Directory. One-click install (requires uv — the Python equivalent of npx):

Add to Cursor

Or add manually to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global) — both work:

{ "command": "uvx", "args": ["--from", "git+https://github.com/YashvantHange/Investo", "investo-mcp"] }

uvx builds & runs Investo straight from GitHub — no clone, no venv, works from any folder.

Claude Desktop — use the same uvx config (see examples/claude_desktop_config.json), or install the one-click .mcpb bundle (scripts/build_mcpb.sh).

From source (no uv) — clone, python -m venv .venv && pip install -e ., then point the MCP config at the launcher: { "command": "python", "args": ["<ABSOLUTE>/scripts/mcp_launcher.py"] } (the launcher finds the venv itself). This is what a project-scoped .mcp.json uses.

See PUBLISHING.md for PyPI / .mcpb / MCP-registry release steps.

Then ask: "Analyse Infosys", "Compare HDFC Bank with its peers", "What's the DCF value of Reliance?"

How the launcher works: scripts/mcp_launcher.py is a tiny standard-library script. When a client runs it with any python, it re-launches the server inside the project's .venv (or uses the current interpreter if investo is already installed there). That's why the committed config needs no machine-specific paths.


MCP tools

Tool

Purpose

search_company

Resolve a name to an NSE/BSE/global ticker

get_company_profile

Sector, business summary, market cap, executives

get_financials

Income statement / balance sheet / cash flow

get_key_ratios

Valuation, profitability, leverage, growth, cash-flow ratios

compare_peers

Competitor comparison table

get_industry_intelligence

Sub-domains, demand drivers, CAGR, risks

get_news

Categorized recent headlines

get_management

Executives, holdings, capital allocation

dcf_valuation

Intrinsic value, margin of safety, expected return

moat_assessment

Economic-moat signals + heuristic score

risk_assessment

Risk signals + heuristic score

score_company

0–100 composite rating

analyze_company

Everything above bundled into one report

get_sec_facts

SEC EDGAR cross-check (US/ADR only)


Configuration

All optional — set as environment variables (or in .env; see .env.example):

Variable

Purpose

Default

ALPHAVANTAGE_API_KEY / FMP_API_KEY / FINNHUB_API_KEY

Licensed data (primary when set)

INVESTO_LOG_LEVEL

Log verbosity to stderr (DEBUG/INFO/WARNING/ERROR)

WARNING

INVESTO_RATE_MIN_INTERVAL

Min seconds between Yahoo calls

0.0

INVESTO_AV_DAILY_CAP

Alpha Vantage daily cap before Yahoo fallback

25

INVESTO_SEC_CONTACT

Contact for the SEC EDGAR User-Agent

repo URL

INVESTO_DEFAULT_MARKET

IN or US

IN

INVESTO_DCF_*

DCF discount / terminal / years overrides

see .env.example

Investo prefers licensed data when you configure a key, and falls back to free Yahoo data otherwise:

  • With an API key (ALPHAVANTAGE_API_KEY / FMP_API_KEY / FINNHUB_API_KEY): licensed fundamentals are used as the primary source and take precedence for the fields they cover (recommended for production / commercial use).

  • Without a key (default, zero-config): Yahoo Finance is used via yfinance, which relies on Yahoo's public but unofficial endpoints. This is best-effort, may be rate-limited, and is subject to Yahoo's terms of service. For NSE/BSE fundamentals Yahoo remains the practical source of record even when a key is set, because the licensed APIs' India coverage is limited.

The provider in effect is reported by the provider_status in tool output. See SECURITY.md for the full list of endpoints Investo contacts.

Privacy — what leaves your machine

Only the company name or ticker you ask about is sent to the data endpoints above. Investo has no telemetry, stores no personal data, and reads API keys only from environment variables (never logged). It is read-only and does not modify your system.

Known limitations

  • Promoter/insider shareholding for NSE/BSE has no clean free API — best-effort, often unavailable for Indian names.

  • Industry CAGR / market share are curated/estimated (data/*.yaml), not live.

  • Peer lists start curated for major Indian sectors and are extensible via data/peers.yaml.

  • Sharp reporting discontinuities (e.g. a demerger) can distort growth; Investo flags a warning when it detects one, but read the note in context.

⚠️ Investo is for research and education only — not investment advice. Do your own due diligence.


License

MIT

Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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/YashvantHange/Investo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server