Marina rules
● Activeio.github.David-Marina/marina-rules
Trading rules by date with sources, for backtests: A-share price limits, stamp duty; futures, HK, US
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"marina-rules": {
"command": "uvx",
"args": [
"--with",
"mcp>=2.3,<3",
"marina-rules",
"mcp"
]
}
}
}claude mcp add marina-rules -- uvx --with 'mcp>=2.3,<3' marina-rules mcpcodex mcp add marina-rules -- uvx --with 'mcp>=2.3,<3' marina-rules mcpcode --add-mcp '{"name":"marina-rules","type":"stdio","command":"uvx","args":["--with","mcp>=2.3,<3","marina-rules","mcp"]}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Dec 4, 2026Looks healthy: Marina rules is maintained, open source.
- Maintained
- Active
- Last commit 12 days ago (Nov 23, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.David-Marina/marina-rules in the official MCP registry, version 2026.11.23.
- Source
- Open source, MIT
- Public repository under the MIT licence, 1 stars, 0 forks.
- Runs
- On your machine
- A local PyPI package started by your client; it can reach whatever your user account can.
- Credentials
- None declared
- The registry entry declares no required environment variables.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit 12 days ago.
- Open licence+15/15
MIT on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
1 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-david-marina-marina-rules?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-david-marina-marina-rules/report-badge.svg" alt="Marina rules — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Dec 4, 2026Pythona-sharebacktestingchina-stockdatasetexchange-rulesfutureshong-kong-stockpoint-in-timeprice-limitquanttrading-agenttrading-rules
From the README
Marina — point-in-time trading rules (marina-rules) 中文简介 · A 股、期货、港股、美股交易制度的历史数据:涨跌停(涨跌幅限制)、印花税和过户费的历次调整、最小报价单位、交易时段、T+N(商品期货自 2024 年起,大商所未覆盖),每条都写明从哪天起生效、依据哪份官方文件。回测和 AI Agent 按成交日取当天的规则,查不到就报错、不猜。pip install marina-rules · 中文入门:README.zh-CN.md · 每条规则一页的网页版:david-marina.github.io/marina-rules Auditable backtests: the exchange trading rules in force on each day, as data with sources. Price limits, fees, trading sessions, ticks, settlement — every record says when a rule took effect and where it was published. A backtest asks for the rule of each trade date instead of hard-coding today's; marina-check then verifies every fill against the rules of its day and, when nothing was relaxed and nothing was found, emits a stamp that anyone holding the same fill log and the same rules version can recompute; citation() names the exact, byte-pinned rules a result ran under. A backtest that hard-codes today's rules gets earlier trades wrong. examples/hardcodedvsmarina.py prints these five fills and a sixth (a convertible bond) side by side — the number a backtest gets from today's rule, and the number that applied on the trade date: What a stamp certifies is deliberately narrow: the fills respected these rules. It says nothing about look-ahead in prices, survivorship or overfitting.…
Read the full README on GitHub →Alternatives to Marina rules
All Marina rules alternatives →Best Finance servers →Compare side by side →The most-starred Finance servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| CCXT | 45,023 | Nov 2026 | Local / not checked |
| Finance Toolkit | 5,591 | Dec 2026 | Needs sign-in |
| AKQuant | 2,649 | Nov 2026 | Local / not checked |
| com.stripe MCP | 2,114 | Dec 2026 | Needs sign-in |
| AKTools | 1,584 | Nov 2026 | Local / not checked |
Marina rules: questions people ask
- Is Marina rules a remote or a local MCP server?
- According to its entry in the official MCP registry, Marina rules ships as a local package (PyPI) that your client starts on your machine.
- Is Marina rules safe to use?
- Looks healthy: Marina rules is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: None declared. Serverdex check of Dec 4, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is Marina rules still maintained?
- Active: the repository's last commit 12 days ago. Last push Nov 23, 2026, 1 GitHub stars, MIT licence. Read from GitHub on Dec 4, 2026.
- How do I add Marina rules to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Finance servers
Browse all Finance →Financial Modeling Prep (fmpsdk)
Well-maintained
Financial Modeling Prep API as MCP tools — quotes, statements, prices, and ~240 endpoints.
DayZero Accounting
Production-ready
AI-native accounting MCP server: books, bank rec, invoices, bills, inventory, close & reports.
Arch Tools MCP
Well-maintained
63 production tools for AI agents — one API key, pay per call in USDC (x402) or Stripe credits.
Delegance business insurance
Needs work
Business insurance quotes with no API key: GL, workers comp, BOP, cyber. Bind, COIs, policies.
Z Zero MCP
Production-ready
Payments for AI agents: gasless USDC on Base + JIT single-use virtual cards, PAN never in context.
Polymarket Agent MCP
Production-ready
Polymarket trading, market discovery, copy trading and backtesting — 48 MCP tools.
Add the badge to your site
Show visitors that Marina rules is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-david-marina-marina-rules?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Marina rules — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-david-marina-marina-rules?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-david-marina-marina-rules) [](https://serverdex.io/install/vscode/io-github-david-marina-marina-rules) [](https://serverdex.io/install/claude-code/io-github-david-marina-marina-rules)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-david-marina-marina-rules"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-david-marina-marina-rules"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-david-marina-marina-rules"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).