mcpbeat Sign in

Marina rules MCP Server

by david-marina Your server? Claim it
local only

Marina rules runs on your own machine — the client starts it, so there is no endpoint to ping. 601 installs a week from pypi. Last commit 23 Nov 2026.

Trading rules by date with sources, for backtests: A-share price limits, stamp duty; futures, HK, US

Installs per day peak 356 · avg 61 · +12% w/w
a month agotoday
601
Installs / week
pypi · marina-rules
1
Stars
0 open issues
23 Nov 2026
Last commit
from GitHub
MIT
License
Python

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add marina-rules -- uvx --with 'mcp>=2.3,<3' marina-rules mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "marina-rules": {
      "command": "uvx",
      "args": [
        "--with",
        "mcp>=2.3,<3",
        "marina-rules",
        "mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.marina-rules]
command = "uvx"
args = ["--with", "mcp>=2.3,<3", "marina-rules", "mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "marina-rules": {
      "command": "uvx",
      "args": [
        "--with",
        "mcp>=2.3,<3",
        "marina-rules",
        "mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "marina-rules": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "--with",
        "mcp>=2.3,<3",
        "marina-rules",
        "mcp"
      ]
    }
  }
}

What the code does

We read the source, 6 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a file path from a variable src/marina_rules_core/__init__.py:110
        with open(os.path.join(data_dir, name), encoding="ascii") as fh:
Runs an external command src/marina_rules_core/diff.py:58
    out = subprocess.run(["git", "-C", REPO, "ls-tree", "-r", "--name-only", ref, "data/"],

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Alternatives to Marina rules

same job, measured the same way
AKQuant
by akfamily

Write and backtest trading strategies with AKQuant: API lookup, strategy checks, backtest runs

20 445 installs/wk local only
Monte-Neo strategy verifier
by neozork

Verify trading-strategy backtests: look-ahead probes, trading costs, Deflated Sharpe, walk-forward.

2 435 installs/wk local only
Risk-Aware Trading Agents
by jackson-cmd

AI trading agents for US stocks: point-in-time news backtests, a frozen 2026 market, paper trading

1 640 installs/wk local only
Backtest Auditor
by nothingbutalpha

Automated red-team checks for trading backtests: lookahead lint, Deflated Sharpe, costs. Local.

227 installs/wk local only
Price Data MCP
by wesseltl

Live market prices and candles for AI agents (200+ coins). Data only, no trading advice.

205 installs/wk local only
Kronos
by hangeaiagent

Stock price forecasting for China A-shares — Kronos K-line time-series model

147 installs/wk local only
Janorium
by janorium

Backtest crypto trading strategies on Binance spot and futures history with Janorium (free).

136 installs/wk local only
Backtester
by morshedgit

Test a plain-words trading rule on historical prices and compare the trades with SPY. Not advice.

9 tools answering

Marina rules — questions

Answers built from our own checks of this server.

Why is there no uptime for Marina rules?
Marina rules runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package marina-rules was installed 601 times last week.
How do I connect Marina rules?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls marina-rules straight from pypi; nothing to host, nothing to sign up for.
How many people use Marina rules?
The pypi package marina-rules was installed 601 times in the last week. Week over week that is +12%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Marina rules open source?
Yes — it is published under the MIT licence, written in Python and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.