Skip to main content

dalal-mcp

A zero-config, free MCP server for Indian stock markets — with screening and market-breadth tools no other Indian-markets MCP server offers.

dalal-mcp lets any LLM client (Claude Desktop, Claude Code, OpenAI Codex, Cursor) query NSE/BSE equities in plain language. Unlike other Indian-markets MCP servers, it doesn't stop at quote lookup: it can run a stock screen and read market internals (StockBee-style breadth) — and it needs no API key.

"Which NIFTY stocks are up more than 4% today on above-average volume?"
"What's market breadth right now — how many stocks are above their 50-day average?"
"Give me Infosys fundamentals and its last month of prices."

Why this one

  • 🆓 Zero-config & free. Uses Yahoo Finance data (.NS/.BO tickers). No signup, no paid API key — unlike servers that require a paid data plan.
  • 🔎 Screening built in (screen_stocks) — filter a universe by price, % change, volume, and moving-average crosses. No other Indian-markets MCP server does this.
  • 📊 Market breadth (market_breadth) — advancers/decliners, new 52-week highs/lows, % of stocks above their 50/200-day moving averages.
  • 🧱 Reliable by design — thin data layer, fully unit-tested tools, graceful per-symbol error handling.

Install

uvx dalal-mcp

(Requires uv. No other setup.)

Configure your client

Claude Desktop / Claude Code (claude_desktop_config.json):

{
  "mcpServers": {
    "dalal": { "command": "uvx", "args": ["dalal-mcp"] }
  }
}

OpenAI Codex / Cursor — point your MCP config at the same command (uvx dalal-mcp, stdio transport).

Tools

Tool What it does
search_symbol Resolve a name/partial ticker to Indian-market symbols
get_quote Latest price, day range, volume
get_historical OHLCV candles over a period
get_fundamentals P/E, market cap, EPS, sector, 52-wk range
screen_stocks Filter a universe by numeric criteria
market_breadth Advancers/decliners, new highs/lows, % above DMA
get_index Index level + constituents (NIFTY 50, SENSEX)

Development

uv venv && uv pip install -e ".[dev]"
uv run pytest

Tests use mocked data — no network access required in CI.

License

MIT

Metadata

Release files for dalal-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dalal-mcp 0.1.0
File Size Uploaded Provenance Actions
dalal_mcp-0.1.0.tar.gz 93.2 kB Without provenance Details for dalal_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dalal-mcp 0.1.0
File Interpreter ABI Platform Actions
dalal_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for dalal_mcp-0.1.0-py3-none-any.whl

Total release size: 104.0 kB

Release files / dalal_mcp-0.1.0.tar.gz

Download URL dalal_mcp-0.1.0.tar.gz
Size 93.2 kB
Tags Source
SHA-256 checksum
How to use checksums
884a9ac9d6c3a063489c98280a51b44b0729ea00feadb248f4830a864d425118
BLAKE2b-256 checksum
How to use checksums
b278eac889b2335f5d02024b996e83a8962db1c259e86ff358f02e03f50de3d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / dalal_mcp-0.1.0-py3-none-any.whl

Download URL dalal_mcp-0.1.0-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09d8330f18d5323827e78b701537341ffd86a4b686eeebf6ff3886fb3f33a0be
BLAKE2b-256 checksum
How to use checksums
0e8a5b1929fee6cd01fa523c23ae2169e43a5e312907f444a11f9c6199ebc986
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for dalal-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page