Skip to main content

Screener India MCP

The rate-safe, source-traced Screener.in server for AI assistants.

Ask Claude (or any MCP client) about Indian NSE/BSE companies and get Screener.in fundamentals — ratios, 10-year statements, quarterly trends, shareholding, peers, price history, documents and screens — without getting your network or account blocked, and with every number traceable to the page it came from.

CI PyPI License: MIT Python MCP

Personal research only. Screener.in's terms allow personal, non-commercial viewing. This project is not affiliated with or endorsed by Screener.in / Mittal Analytics. It does not redistribute any Screener data; everything stays on your machine. Not investment advice.


Why another Screener MCP?

There are already a few. This one exists because of what went wrong with them in real use:

Problem with existing tools What Screener India MCP does
Each process throttles itself, so two or three running together trip Screener's limits and get the network blocked One machine-wide governor: every process shares one request spacing (≥ 2 s, default 3 s), one daily budget and one cool-down, enforced with a file lock
After a block they keep hammering, which makes the block longer Block-aware: a refusal (HTTP 403/429/503 or a refused connection) starts a cool-down of 30 min → 2 h → 6 h → 24 h, and answers come from cache, clearly marked stale
Passwords sit in plain-text config, or an AI tool accepts the password in chat Log in once: the password lives in your OS secure store (Windows Credential Manager / macOS Keychain / Linux Secret Service). There is no tool that accepts a password. Silent session expiry is detected and it logs in again by itself
"Red flags" means handing raw tables to the AI and hoping 12 deterministic red-flag checks with the evidence attached — same page, same answer, every time
Numbers with no source Every response carries provenance: source URL, fetch time, cached/stale, consolidated vs standalone
Some tools expose shell commands, file writes or data syncs to the AI 14 read-only tools (annotated readOnlyHint), no file writes, no shell, no bulk mirroring
One company look-up = many page loads A company page is fetched once and reused for overview, statements, trend, red flags, shareholding and documents

Tools

Tool What it gives Requests
company_snapshot Best first call: ratios, sector/industry, pros/cons, growth, 8-quarter trend, red flags, latest shareholding, recent documents 1
company_overview Market cap, P/E, book value, ROCE, ROE, 52-week range, about, classification, compounded growth 1 (shared)
financial_statement Quarters, P&L, balance sheet, cash flow or ratios history as periods × rows 1 (shared)
earnings_trend Quarterly sales/profit/margin/EPS with YoY growth and accelerating / steady / decelerating 1 (shared)
red_flags 12 rule-based checks (cash conversion, receivable & inventory days, other income, leverage, debt vs sales, profit vs sales, falling returns, promoter selling, low tax, CWIP, share-capital increase) 1 (shared)
shareholding Promoter / FII / DII / public history, quarterly or yearly 1 (shared)
documents Announcements, annual reports, credit ratings, concall transcripts / presentations / recordings 1 (shared)
peers Industry peer table +1
price_history Price with 50/200-DMA, volume and delivery %, or P/E, margins, EV/EBITDA, P/B, Mcap/Sales history +1
compare_companies Side-by-side valuation, returns, margins and growth for 2–6 companies 1 per company
search_company Find the symbol from a name 1
run_screen Any Screener query, e.g. Return on capital employed > 20 AND Debt to equity < 0.3 (needs login) 1
theme_screen 12 ready-made screens (quality compounders, earnings acceleration, margin expansion, turnaround…) (needs login) 1
service_status Login state, requests used/left today, cool-down, cache 0

"shared" = served from the same cached company page, so asking several of these costs one request.

Install

pipx install screener-india-mcp        # or: uv tool install screener-india-mcp

Not on PyPI yet? Install from GitHub:

pipx install git+https://github.com/itsindrajitdas/screener-india-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "screener-india": { "command": "screener-india-mcp" }
  }
}

Claude Code

claude mcp add screener-india -- screener-india-mcp

Any other MCP client: run screener-india-mcp (stdio), or screener-india-mcp serve --http for streamable HTTP on 127.0.0.1:8631.

Optional: log in once (for screens)

Company data works without an account. Screens need a (free) Screener.in login:

screener-india-mcp login        # asks for email, then the password with hidden typing
screener-india-mcp status       # shows login state and today's budget
screener-india-mcp logout       # removes it

The password goes straight into your OS keyring and is never printed, logged or sent anywhere except Screener's own login form. When Screener ends the session, the server logs in again by itself. Headless Linux without a keyring: set SCREENER_EMAIL and SCREENER_PASSWORD (less safe).

Politeness settings

Environment variables can make the server more polite, never less:

Variable Default Limit
SCREENER_MIN_INTERVAL 3 s between requests never below 2 s
SCREENER_DAILY_BUDGET_ANON 40 requests/day without login max 60
SCREENER_DAILY_BUDGET 300 requests/day with login max 1000; 0 = no daily cap (account owner's choice; spacing and cool-down still apply)
SCREENER_STATE_DIR, SCREENER_CACHE_DIR OS defaults —

Pages are cached locally (company pages 6 h, prices 3 h, search 7 days). When the budget is spent or Screener is cooling us down, cached answers are still served, marked stale: true.

Using it as a library

from screener_india_mcp.service import Screener

s = Screener()
snap = s.snapshot("TCS")
print(snap["overview"]["ratios"]["pe"], snap["red_flags"]["summary"])

BSE-only and SME companies live on Screener under their BSE scrip code (e.g. /company/530215/), not the ticker. Pass any code you know, or use the code as the symbol; otherwise the library tries a Screener search and accepts only an unambiguous match (it never guesses between two companies). A match that worked is remembered in aliases.json in the state folder.

s.set_bse_codes({"KINGSINFR": "530215", "GENUSPRIME": "532425"})

When a company's consolidated page is thin (fewer than 8 quarters or 5 years — common right after a subsidiary is formed), the standalone page is fetched too. The latest figures and ratios stay consolidated and older columns are filled from standalone; each table's basis list says which columns are which, and growth or red-flag checks never compare across the join. If the consolidated page is too new for trailing-12-month figures (under 4 quarters), the standalone page is used instead. Responses say what happened (view, view_note, history, history_fill).

Batch jobs share the same machine-wide governor as the MCP server, so a nightly script and an assistant session can run side by side without tripping Screener's limits.

Development

git clone https://github.com/itsindrajitdas/screener-india-mcp
cd screener-india-mcp
pip install -e ".[dev]"
pytest

Tests use synthetic fixtures (invented company, invented numbers) that copy only the page structure; no Screener.in content is stored in this repository. Tests never touch the network or your real keyring.

Acknowledgements

Ideas were drawn from earlier open-source work, with thanks: LogeshR15/screener-mcp (MIT; the "table with the most company links" approach to screen results), screener-ai-tool (MIT; price-chart endpoint and document lists) and the Printing Press screener CLI (Apache-2.0; quarterly trend idea). The code here is an independent implementation.

License

MIT © 2026 Indrajit Das

Metadata

Release files for screener-india-mcp 0.1.3

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

Source distribution (sdist)

Source distribution for screener-india-mcp 0.1.3
File Size Uploaded Provenance Actions
screener_india_mcp-0.1.3.tar.gz 46.0 kB With provenance Details for screener_india_mcp-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for screener-india-mcp 0.1.3
File Interpreter ABI Platform Actions
screener_india_mcp-0.1.3-py3-none-any.whl Python 3 none any Details for screener_india_mcp-0.1.3-py3-none-any.whl

Total release size: 84.5 kB

Release files / screener_india_mcp-0.1.3.tar.gz

Download URL screener_india_mcp-0.1.3.tar.gz
Size 46.0 kB
Tags Source
SHA-256 checksum
How to use checksums
897e9eb140890b70663f43ce26dbc66c81bfce8782348443992444fcbaa64101
BLAKE2b-256 checksum
How to use checksums
822e287d14216570ef1defa5b22b0c835122a8315d8db63acbe5a492e8fe807b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / screener_india_mcp-0.1.3-py3-none-any.whl

Download URL screener_india_mcp-0.1.3-py3-none-any.whl
Size 38.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb9f99dd2586f9826681c46b43db8981e1745e40afc407deda00105e178e2eae
BLAKE2b-256 checksum
How to use checksums
30a94dc54bb2542f170376a8a120330871aa966a914258cc2df2eb233f8141fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for screener-india-mcp 0.1.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for screener_india_mcp-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

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.3 This release

2 release files Full 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