Borrowing it
Nothing to install: this file belongs to sandraschi/pdf-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/sandraschi/pdf-mcp/master/.cursorrulesgit clone --depth 1 https://github.com/sandraschi/pdf-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/rules/sandraschi/pdf-mcp/cursorrules)<a href="https://agentmods.dev/rules/sandraschi/pdf-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/sandraschi/pdf-mcp/cursorrules/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/rules/sandraschi/pdf-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/sandraschi/pdf-mcp/cursorrules.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.00283 | $0.00283 |
| Opus 5.5 | $0.00113 | $0.00113 |
| Sonnet 5.5 | $0.00057 | $0.00057 |
| Haiku 4.5 | $0.00028 | $0.00028 |
Grade A, and why
cursorrules 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 1mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- windsurfrules — 100% identical, 0 lines differ
What it actually says
pdf-mcp Cursor Rules
Session Context (pdf-mcp)
pdf-mcp is a PDF intelligence MCP server (FastMCP 3.4.4, FastAPI/Starlette HTTP on
11131, React webapp on 11130). Before starting work: run pdf_status to confirm the
server is alive and pdf_help to see the current tool surface. The 16 tools are
pdf_extract, pdf_manipulate, pdf_annotate, pdf_forms, pdf_convert, pdf_validate,
pdf_rag, pdf_analyze, pdf_redact, pdf_classify, pdf_dedupe, pdf_export, pdf_do,
pdf_help, pdf_status, pdf_shutdown. Each domain tool is a portmanteau with
an operation param - read the docstring for operation names. At end of work: save
any generated PDFs to data/uploads/ and note the job_id in the thread.
Standards
- Check central docs first:
D:\Dev\repos\mcp-central-docs\(standards/, patterns/) - Python: ruff (0.16.x) + pyright, all gates via
just ci - Webapp: React + Vite + Tailwind + Zustand;
bun, not npm - Never edit files in
_upstream/; never commit.envor secrets
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.
- 1mo ago First seen · 20 lines · 283 tokens per session scan A 50063619d70c
cursorrules is a cursor rule published in the GitHub repository sandraschi/pdf-mcp (1 stars, last pushed 3d ago), licensed MIT. It adds 283 tokens to every session, about $0.0011 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.
Other cursor rules, from other repositories
deepread-form-fill
DeepRead Form Fill API. AI-powered PDF form filling — upload any PDF form + JSON data, get back a completed PDF. Endpoints, auth, request/response formats, and code examples.
deepread-setup
Get started with DeepRead OCR. Automatically obtains an API key via device authorization flow (RFC 8628), then walks through first document, structured extraction, and blueprints.
sumatrapdf-official-toc
Official PDF TOC — a numbering gap means an item was dropped; salvage or reject, never skip the hole.
pro-deck-builder
Create polished HTML slide decks and PDF-ready documents for consulting deliverables. Uses the RRBC design system with warm light mode, dark mode cover pages, Lora/Inter/Roboto Mono typography, and data visualization palette. Trigger on 'deck', 'slides', 'presentation', 'pitch deck', 'keynote', 'report', or 'PDF'.
document-skills
A rule for handling academic papers, Nature-style editing, patents, software documentation, grant materials, presentations, and technical records. It says to choose an installed skill from the /.agents/skills folder and read its instructions first.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.