kainext-binance-mcp: Instructions file for Claude Code

CLAUDE.md

kainext-binance-mcp CLAUDE.md is an instructions file for Claude Code from Alejandrehl/kainext-binance-mcp. It costs 1,789 tokens per session, scanned A, original, MIT.

Repository instructions for a Binance spot trading server and an offline research engine for USD-margined futures. They define strict boundaries between research and real-money order execution.

In plain words
What is it for?
Use them when changing the Binance MCP server, its human-confirmed spot orders, or the keyless futures research code.
Why use it?
They help coding agents avoid mixing two systems or breaking safety rules, such as giving the model permission to trade or adding API keys to offline research code.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is Alejandrehl/kainext-binance-mcp's own configuration. It tells Claude Code how to work on kainext-binance-mcp 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 kainext-binance-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Alejandrehl/kainext-binance-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.

Copy the file
curl -O https://raw.githubusercontent.com/Alejandrehl/kainext-binance-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Alejandrehl/kainext-binance-mcp

Made for: Claude Code.

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 kainext-binance-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/alejandrehl/kainext-binance-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/alejandrehl/kainext-binance-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/alejandrehl/kainext-binance-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/alejandrehl/kainext-binance-mcp/claude-md/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 kainext-binance-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/alejandrehl/kainext-binance-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/alejandrehl/kainext-binance-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,789 This file is loaded in full into every session.
When invoked 1,789 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01789 $0.01789
Opus 5 $0.00894 $0.00894
Sonnet 5 $0.00358 $0.00358
Haiku 4.5 $0.00179 $0.00179

Measured 8d ago against content hash cda800e19293, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

kainext-binance-mcp CLAUDE.md 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 8d 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.

CLAUDE.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md — orientación para una sesión nueva

Este repo es dos cosas a la vez, y confundirlas es el error caro:

  1. Un servidor MCP de Binance spot, en producción, con dinero real. Publicado en PyPI (kainext-binance-mcp) y en el MCP Registry. Lo usa el operador a diario. 25 tools, 5 prompts, 8 recursos kb://.
  2. Un motor de research de futuros USD-M, offline y sin keys, detrás del extra [research]. No expone ninguna tool. Es la Fase 0 de Alpha, el programa de trading sistemático del operador.

Qué NO es: un bot de trading. La ejecución de órdenes es spot-only y requiere un clic humano en un proceso aparte. El motor de futuros investiga; no puede colocar una orden.


Invariantes — romper uno de estos es un incidente, no un bug

Invariante Por qué
El modelo nunca tiene una trade key El servidor corre con key read-only. La trade key vive SOLO en el proceso confirmer, que el operador lanza aparte. Es la garantía central del producto
futures/ es keyless y offline No importa un client, no lee una API key, no usa el secret. Lee archivos públicos. Si alguna vez necesita una key, el diseño está mal
El servidor no importa futures/ Import perezoso. Sin el extra [research] el servidor arranca igual. Romperlo deja sin servidor a quien instala por uvx
_INSTRUCTIONS (server.py) es comportamiento, no documentación FastMCP lo inyecta en toda sesión de todo cliente MCP. Editarlo cambia cómo se comporta cada sesión de IA. Ya causó un incidente: en mcp 2.0 el 2º posicional pasó de instructions a title, y pasarlo posicional dejaba la doctrina sin inyectar, en silencio
instructions= va por nombre Ver arriba. tests/test_consistency.py lo verifica
Nada de credenciales en .mcp.json El repo es público. El archivo se versiona pero solo declara MCPs remotos con OAuth; el gate rompe el build si aparece algo con forma de key

La doctrina tiene dos regímenes (y no se mezclan)

Read the full file on GitHub · 121 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. 8d ago First seen · 121 lines · 1,789 tokens per session scan A cda800e19293

Subscribe to this mod's changes

kainext-binance-mcp CLAUDE.md is an instructions file published in the GitHub repository Alejandrehl/kainext-binance-mcp (0 stars, last pushed 2d ago), licensed MIT. It adds 1,789 tokens to every session, about $0.0089 per session on Opus 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.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens