mcp-financial-data: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from SebAustin/mcp-financial-data. It costs 1,935 tokens per session, scanned A, original, MIT.

Project rules for Cursor, an AI coding editor, including shared portfolio standards and repository-specific instructions.

In plain words
What is it for?
Writing and reviewing code, following the project’s Python and web-development standards, and keeping repository rules synchronized with shared rules.
Why use it?
They tell the agent which tools, programming versions, libraries, and editing rules the project expects.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

This is SebAustin/mcp-financial-data's own configuration. It tells Cursor how to work on mcp-financial-data 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 mcp-financial-data configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SebAustin/mcp-financial-data. 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/SebAustin/mcp-financial-data/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/SebAustin/mcp-financial-data

Made for: Cursor.

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 cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/sebaustin/mcp-financial-data/cursorrules/github.svg)](https://agentmods.dev/rules/sebaustin/mcp-financial-data/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/sebaustin/mcp-financial-data/cursorrules"><img src="https://agentmods.dev/badge/rules/sebaustin/mcp-financial-data/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.

agentmods 80×15 button for cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/sebaustin/mcp-financial-data/cursorrules"><img src="https://agentmods.dev/badge/rules/sebaustin/mcp-financial-data/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,935 This file is loaded in full into every session.
When invoked 1,935 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01935 $0.01935
Opus 5.5 $0.00774 $0.00774
Sonnet 5.5 $0.00387 $0.00387
Haiku 4.5 $0.00194 $0.00194

Measured 2mo ago against content hash 865ec3028e66, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- `subprocess.run(shell=True)` — never.
.cursorrules · 145 lines

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 mcp Python 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: ignore without a one-line comment explaining why.

4. Testing

  • Every module has matching tests under tests/unit/.
  • pytest-asyncio in strict mode. Network mocked with respx.
  • Coverage gate: 85% line coverage on src/.
  • Integration tests marked @pytest.mark.integration and skipped by default.

Read the full file on GitHub · 145 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. 2mo ago First seen · 145 lines · 1,935 tokens per session scan A 865ec3028e66

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository SebAustin/mcp-financial-data (0 stars, last pushed 2mo ago), licensed MIT. It adds 1,935 tokens to every session, about $0.0077 per session on Opus 5.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.

Related

cursorrules compared with cursor rules from other repositories

cursorrules next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cursorrulesSebAustin/mcp-financial-dataCursor rule02mo agoMITA1,935Cursor
ponytailDietrichGebert/ponytailCursor rule185k8d agoMITA604Cursor
angular-20angular/angularCursor rule101kyesterdayMITA0Cursor
dev-standardapache/supersetCursor rule75kyesterdayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48kyesterdayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48kyesterdayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48kyesterdayApache-2.0A0Cursor