Cardano-mcp: Instructions file for Claude Code

CLAUDE.md

Cardano-mcp CLAUDE.md is an instructions file for Claude Code from lidonation/Cardano-mcp. It costs 4,141 tokens per session, scanned B, original, MIT.

Project instructions for Cardano-mcp, covering its Cardano MCP server, documentation site, project map, and completion status. Cardano is a blockchain platform, and MCP is a way for agents to connect to tools and data.

In plain words
What is it for?
Working on the server in src/, the documentation site in docs-site/, and the project's remaining work.
Why use it?
It gives the coding agent the project context and working rules needed to make changes consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

Nothing to install: this file belongs to lidonation/Cardano-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/lidonation/Cardano-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/lidonation/Cardano-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 Cardano-mcp CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lidonation/cardano-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/lidonation/cardano-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,141 This file is loaded in full into every session.
When invoked 4,141 The same file — it is already loaded in full.
Security scan B 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.04141 $0.04141
Opus 5.5 $0.01656 $0.01656
Sonnet 5.5 $0.00828 $0.00828
Haiku 4.5 $0.00414 $0.00414

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

Security

Grade B, and why

Cardano-mcp CLAUDE.md scanned grade B 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 1mo 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- Smart contracts are VALIDATORS: they approve or deny spending, not run arbitrary code
CLAUDE.md · 322 lines

How it starts

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

Cardano MCP — Project Brain

Read this fully before touching any file. This is the single source of truth for architecture, decisions, and current state.


What we have built

This project has four parts:

1. MCP Server (src/)

A production-grade Model Context Protocol server that gives AI agents deep, idiomatic access to the Cardano blockchain — UTxOs, native assets, smart contracts, indexers, and on-chain governance. Developers using Claude can build full Cardano dApps without leaving their AI coding session.

2. Documentation site (docs-site/)

A Nextra v3 static docs site deployed at cardano-mcp.dev. Fully built, mobile-optimised, dark-only theme. Covers installation, configuration, all 6 modules, and Cardano concepts. Note: its tool count (docs-site/data/tools.generated.json) currently lags the server — see the tool count note under Completion status.

3. Claude Code plugins (plugins/)

A small marketplace of four focused Claude Code plugins built on the MCP server (registered via root .claude-plugin/marketplace.json), following a "verification over trust" pattern — see each plugin's own README for details:

Plugin Purpose
plugins/cardano-verify Compile-checks Aiken code against the real aiken compiler before presenting it as correct; confirms network + amount before submit_transaction runs
plugins/cardano-concepts Grounds eUTxO/governance answers in src/resources/*.md instead of general model knowledge
plugins/cardano-status-codes Diagnoses tool errors against a catalog of what Blockfrost/Koios/Maestro/Kupo/ledger failures actually mean
plugins/cardano-tooling Checks local Kupo/Yaci Store sidecars are reachable before calling the indexer module's tools

4. Demo app (demo-app/)

A Vite + React browser client with its own Express bridge server (demo-app/server.ts) that wraps the same Blockfrost/Koios calls the MCP server makes and exposes them as plain HTTP endpoints — for exercising Cardano queries from a browser UI without going through MCP. It does not call the MCP server directly; it's a parallel, standalone implementation for demo purposes.

Read the full file on GitHub · 322 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. 1mo ago Changed · +23 lines · +411 tokens per session f86b7424ac33
  2. 2mo ago First seen · 299 lines · 3,730 tokens per session scan B 78c9b277a834

Subscribe to this mod's changes

Cardano-mcp CLAUDE.md is an instructions file published in the GitHub repository lidonation/Cardano-mcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 4,141 tokens to every session, about $0.0166 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Cardano-mcp CLAUDE.md compared with instructions from other repositories

Cardano-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Cardano-mcp CLAUDE.mdlidonation/Cardano-mcpInstructions file21mo agoMITB4,141Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode