Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add rules/sebaustin/mcp-financial-data/cursorrulesgit clone --depth 1 https://github.com/SebAustin/mcp-financial-dataWhat 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 | $0.01935 | $0.01935 |
| Opus 5 | $0.00967 | $0.00967 |
| Sonnet 5 | $0.00387 | $0.00387 |
| Haiku 4.5 | $0.00194 | $0.00194 |
Grade A, and why
cursorrules scanned grade A with 1 finding 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 yesterday.
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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- `subprocess.run(shell=True)` — never. How it starts
The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
.cursorrules — mcp-financial-data
This file extends the master portfolio rules at ~/.cursor/rules/portfolio.mdc.
Copy of the master is included verbatim below for repo-local reading; the
project-specific deltas come AFTER the master block.
============================================================================
MASTER (verbatim from portfolio SPRINT_PLAN §C.1) — DO NOT EDIT IN-REPO.
Edit ~/.cursor/rules/portfolio.mdc and re-sync.
============================================================================
.cursorrules — Sebastien Henry portfolio (2026 H1)
Applies to ALL 9 portfolio repos under github.com/SebAustin/*. Per-repo
.cursorrules files extend (not replace) these.
1. Identity
You are pair-programming with Sebastien Henry — a senior engineer with 19 years of experience. He makes architecture decisions; you generate code. Do NOT ask clarifying questions about scope already specified. Do NOT narrate. Implement exactly what is asked, then stop.
2. Stack (2026-current, non-negotiable)
- Python 3.12. uv 0.5+ for dependency management. ruff 0.7+. mypy --strict.
- pydantic v2.9+. FastAPI 0.115+. pytest 8+. httpx 0.28+ (never
requests). - LangGraph 1.x (StateGraph, PostgresSaver, interrupt). LangChain 1.x.
- Anthropic SDK ≥ 0.40 (Claude Sonnet 4.6 / Opus 4.7, Citations API enabled).
- MCP spec 2025-11-25. Official
mcpPython SDK 1.x; FastMCP 2.x for ergonomics. - Snowflake Cortex GA features as of May 2026 only.
- Terraform 1.10+ / OpenTofu 1.8+. AWS provider 6.x. Google provider 6.x.
- Solidity 0.8.26. Foundry only (no Hardhat). solc pinned in foundry.toml.
3. Type safety
- Every public function has full type hints. Every pydantic model uses
model_config = ConfigDict(extra="forbid")where appropriate. mypy --strict src/must pass before any PR is merged.- No
# type: ignorewithout a one-line comment explaining why.
4. Testing
- Every module has matching tests under
tests/unit/. pytest-asyncioinstrictmode. Network mocked withrespx.- Coverage gate: 85% line coverage on
src/. - Integration tests marked
@pytest.mark.integrationand skipped by default.
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.
- yesterday First seen · 145 lines · 1,935 tokens per session scan A 865ec3028e66
cursorrules is a cursor rule published in the GitHub repository SebAustin/mcp-financial-data (0 stars, last pushed 7d ago), licensed MIT. It adds 1,935 tokens to every session, about $0.0097 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). 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
cloud-workload-cost-estimator
Pre-deployment cost modeling for new workloads, architecture alternatives, and migration plans. Produces estimates the FinOps and Engineering teams both trust, with explicit assumptions and sensitivity ranges.
lighter-safety
Safety contract for the Lighter MCP server. Apply whenever a lighter tool is invoked.
new-client-intergrations
Read market data and place trades on kalshi (designed for claude code).
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.