Zero-config MCP server for Indian stock markets, with screening and market-breadth tools
Project description
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/.BOtickers). 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dalal_mcp-0.1.0.tar.gz.
File metadata
- Download URL: dalal_mcp-0.1.0.tar.gz
- Upload date:
- Size: 93.2 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
884a9ac9d6c3a063489c98280a51b44b0729ea00feadb248f4830a864d425118
|
|
| MD5 |
552c3be1ed189f5f5c325d4d4a4e93d3
|
|
| BLAKE2b-256 |
b278eac889b2335f5d02024b996e83a8962db1c259e86ff358f02e03f50de3d1
|
File details
Details for the file dalal_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dalal_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09d8330f18d5323827e78b701537341ffd86a4b686eeebf6ff3886fb3f33a0be
|
|
| MD5 |
05659641d8aec7f7fefea59be7141c80
|
|
| BLAKE2b-256 |
0e8a5b1929fee6cd01fa523c23ae2169e43a5e312907f444a11f9c6199ebc986
|