quality-screener-mcp-server: Instructions file for Claude Code

CLAUDE.md

quality-screener-mcp-server CLAUDE.md is an instructions file for Claude Code from quality-screener/quality-screener-mcp-server. It costs 1,898 tokens per session, scanned A, original, MIT.

A set of coding instructions for a small MCP server, a service that lets AI agents call tools, and its related quality-screening backend.

In plain words
What is it for?
Maintaining the MCP server, shaping request data, calling the deployed REST API, following repository workflow rules, and running the Python test suite.
Why use it?
It keeps the server focused on passing requests to the backend instead of placing business logic in the wrong repository. It also documents the required branch, worktree, deployment order, and test commands.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is quality-screener/quality-screener-mcp-server's own configuration. It tells Claude Code how to work on quality-screener-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything quality-screener-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to quality-screener/quality-screener-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/quality-screener/quality-screener-mcp-server/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/quality-screener/quality-screener-mcp-server

Made for: Claude Code.

Wrote 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.

agentmods badge for quality-screener-mcp-server CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/quality-screener/quality-screener-mcp-server/claude-md/github.svg)](https://agentmods.dev/instructions/quality-screener/quality-screener-mcp-server/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/quality-screener/quality-screener-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/quality-screener/quality-screener-mcp-server/claude-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.

agentmods 80×15 button for quality-screener-mcp-server CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/quality-screener/quality-screener-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/quality-screener/quality-screener-mcp-server/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,898 This file is loaded in full into every session.
When invoked 1,898 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01898 $0.01898
Opus 5.5 $0.00759 $0.00759
Sonnet 5.5 $0.00380 $0.00380
Haiku 4.5 $0.00190 $0.00190

Measured 9d ago against content hash 50ac6d04e90d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quality-screener-mcp-server CLAUDE.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 9d 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.

CLAUDE.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md / AGENTS.md

Guidance for AI coding agents working in this repository. AGENTS.md is a symlink to this file. The workspace root (../CLAUDE.md) owns the cross-repo rules: worktrees, memory, and the REST contract with the quality-screener backend.

Critical rules

  1. No business logic here. This is a thin, stateless façade. If a change needs computation, it belongs behind a REST endpoint in quality-screener/. Payload shaping (_slim_score_rows, normalize_config) is the one allowed exception — see Adapters.
  2. Branch off main (this repo's default), in a worktree under ../worktrees/quality-screener-mcp-server/<branch-slug>/.
  3. The backend ships first. Tools talk to the deployed API; a tool released ahead of its endpoint is broken in production.

Commands

Requires uv. Python >=3.11. No linter or type checker is configured.

uv sync                                          # install deps (incl. dev group)
uv run pytest                                    # full suite; no live backend needed
uv run pytest tests/test_tool_filters.py::test_screen_share_builds_full_url
uv run qscreener-mcp                             # stdio transport (default)

# HTTP mode, mirroring the remote deployment:
QSCREENER_MCP_TRANSPORT=streamable-http QSCREENER_MCP_PORT=8080 \
  QSCREENER_API_URL=http://localhost:8001 uv run qscreener-mcp

Architecture

An MCP façade over the Quality Screener REST API (the "stobot" backend), with no dependency on the backend Python package — every tool builds a request and returns the decoded JSON. Extending it means adding an @mcp.tool() that delegates to _guard.

Four modules under qscreener_mcp/:

  • server.py — the whole tool surface (~760 lines). The FastMCP instance, every @mcp.tool(), token resolution, and the main() transport entry point. Config (_API_URL, _WEBSITE_URL, _PUBLIC_URL, _MCP_HOST) resolves at import time from env vars, so tests patch the module attribute (monkeypatch.setattr(server, "_WEBSITE_URL", ...)) rather than the env var.
  • constants.py — everything fixed at build time: header names, env-var names and defaults, on-disk filenames, user-facing messages, and the Tool enum of canonical tool names. Env values are deliberately not resolved here.
  • client.py — ApiClient, a minimal httpx wrapper. Attaches the bearer token as X-Stobot-CLI-Token, adds the analytics headers, decodes JSON (None for empty bodies), raises ApiError on any non-2xx. Self-contained copy of the backend CLI's client — keep it dependency-free.
  • oauth.py — StobotOAuthProvider for HTTP mode. Access tokens are the backend CLI token (validated via whoami). Pending state, auth codes, and client registrations are HMAC-signed JWTs when $QSCREENER_OAUTH_SIGNING_KEY is set (Vercel / multi-instance); otherwise they stay in-memory (_pending, _codes) with clients also written to $QSCREENER_CONFIG_DIR/mcp_clients.json (single-process Railway / local).

Read the full file on GitHub · 133 lines

Changes

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.

  1. 9d ago Changed · +3 lines · +62 tokens per session 50ac6d04e90d
  2. 2mo ago First seen · 130 lines · 1,836 tokens per session scan A ae2f04a25eac

Subscribe to this mod's changes

quality-screener-mcp-server CLAUDE.md is an instructions file published in the GitHub repository quality-screener/quality-screener-mcp-server (0 stars, last pushed 10d ago), licensed MIT. It adds 1,898 tokens to every session, about $0.0076 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-08-31.

Related

quality-screener-mcp-server CLAUDE.md compared with instructions from other repositories

quality-screener-mcp-server CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quality-screener-mcp-server CLAUDE.mdquality-screener/quality-screener-mcp-serverInstructions file010d agoMITA1,898Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode