Borrowing it
Nothing to install: this file belongs to LogeshR15/screener-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/LogeshR15/screener-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/LogeshR15/screener-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/logeshr15/screener-mcp/agents-md)<a href="https://agentmods.dev/instructions/logeshr15/screener-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/logeshr15/screener-mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/logeshr15/screener-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/logeshr15/screener-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02126 | $0.02126 |
| Opus 5.5 | $0.00850 | $0.00850 |
| Sonnet 5.5 | $0.00425 | $0.00425 |
| Haiku 4.5 | $0.00213 | $0.00213 |
Grade A, and why
screener-mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guidance for AI coding agents (Claude Code, Codex, Cursor, Copilot, Aider, etc.) working on screener-mcp: an MCP server that gives LLM clients live Indian equity data from Screener.in, NSE, Yahoo Finance and Google News.
Human contributors should read CONTRIBUTING.md. This file is the short, rules-first version for agents. Where the two disagree, the code and tests win. Point out the mismatch in your PR.
Setup and commands
Python 3.11+. Work inside a virtualenv.
python3.11 -m venv .venv && source .venv/bin/activate
pip install --upgrade pip
pip install -e ".[dev]" # core + pytest
# pip install -e ".[ai]" # only if touching RAG/document tools (~1–2 GB, pulls torch)
Run these before you call a change done (CI runs the same):
python -m pytest -q # offline, no network, no credentials
pipx run ruff check --select F src scripts tests # unused imports / undefined names
python -m build # package must still build
Optional, needs network, hits the live site:
python -u scripts/canary.py # live parser checks against Screener.in / NSE
python run_server.py # start the server over stdio
- CI installs core deps only, without
[ai]. That is deliberate. Code undersrc/must import and the tests must pass withoutpdfplumber,chromadborsentence-transformers. Import those lazily inside functions, never at module top level. - Tests must stay offline. Don't add tests that make network calls or need
SCREENER_USERNAME/SCREENER_PASSWORD. Usemonkeypatchand the HTML intests/fixtures/.
Map of the code
| Path | What lives there |
|---|---|
src/screener_mcp/server.py |
Every @mcp.tool(), prompt and resource. Thin wrappers only. Start here. |
src/screener_mcp/tools/*.py |
Tool implementations (the _-prefixed imports in server.py) |
src/screener_mcp/core/envelope.py |
ToolResult, ToolError, to_envelope: the response contract |
src/screener_mcp/core/company_page.py |
Symbol resolution, page fetch, consolidated → standalone fallback |
src/screener_mcp/core/quality.py |
Missing-field detection and ratio sanity bounds |
src/screener_mcp/core/nse_client.py |
NSE API client (raises NSEError) |
src/screener_mcp/core/rag.py, vector_store.py |
Local PDF → chunks → embeddings → ChromaDB pipeline |
src/screener_mcp/parsers/ |
HTML/JSON parsing for Screener pages |
src/screener_mcp/client.py |
Screener.in HTTP client and login |
src/screener_mcp/ui/ |
Bundled MCP App dashboard (vendored JS; don't hand-edit ext-apps-app-with-deps.js) |
tests/ |
Offline tests: registry/docs consistency, envelope, parsers, protocol |
scripts/canary.py |
Live checks, run daily in CI; failures open an issue |
docs/ |
GitHub Pages landing site |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 174 lines · 2,126 tokens per session scan A 5cf02d71e4d1
screener-mcp AGENTS.md is an instructions file published in the GitHub repository LogeshR15/screener-mcp (29 stars, last pushed yesterday), licensed MIT. It adds 2,126 tokens to every session, about $0.0085 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-24.
screener-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| screener-mcp AGENTS.mdLogeshR15/screener-mcp | Instructions file | 29 | yesterday | MIT | A | 2,126 | Codex, OpenCode |
| mcp-server-excel copilot-instructions.mdsbroenne/mcp-server-excel | Instructions file | 965 | yesterday | MIT | A | 107 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,329 | GitHub Copilot |