mcp: Instructions file for Claude Code

CLAUDE.md

mcp CLAUDE.md is an instructions file for Claude Code from everstake/mcp. It costs 1,727 tokens per session, scanned A, original, BSD-3-Clause.

A set of instructions describing the structure and operating rules of a Go server that exposes Everstake data through MCP. Go is the programming language used for the server, and MCP is a standard connection for AI tools.

In plain words
What is it for?
Use it when changing, reviewing, or troubleshooting the Everstake MCP server, especially its Go code, configuration, HTTP or standard-input connections, and tests.
Why use it?
It gives an AI assistant the project context needed to work consistently with the server's layout, configuration, transport options, caching, and logging.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/everstake/mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/everstake/mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,727 This file is loaded in full into every session.
When invoked 1,727 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.01727 $0.01727
Opus 5.5 $0.00691 $0.00691
Sonnet 5.5 $0.00345 $0.00345
Haiku 4.5 $0.00173 $0.00173

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

Security

Grade A, and why

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

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 · 159 lines

How it starts

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

Everstake MCP Server — Session Context

Project

MCP server exposing Everstake data to AI agents. Built in Go using the official modelcontextprotocol/go-sdk.

Repo root: mcp-server module Entry point: cmd/mcp_server/main.go


Stack

Concern Choice
MCP SDK github.com/modelcontextprotocol/go-sdk v1.4.1
HTTP router github.com/gin-gonic/gin v1.10.0
MCP transport Streamable HTTP (/ via NewStreamableHTTPHandler) or stdio (StdioTransport), selected by MCP_TRANSPORT
Config github.com/caarlos0/env — env vars, no file
Cache github.com/patrickmn/go-cache — in-memory, 10 min TTL
Logging github.com/sirupsen/logrus
Go version 1.26.1

Structure

cmd/mcp_server/main.go          signal handling, wires deps, starts server
internal/
  config/
    service_config.go           ServiceConfig{Port, DashboardUrl, Transport} via caarlos0/env
    mcp_config.go               ToolsConfig, custom UnmarshalYAML, LoadMCPConfig
    config_unmarshal_test.go    tests for YAML unmarshaling
  server/
    server.go                   Gin router, /health, mounts MCP handler, graceful shutdown
    mcp/
      server.go                 MCPServer struct, New(), Handler() (http), RunStdio() (stdio), tool registration
      dashboard.go              GetUptimeMetrics, GetChains handlers (live API + cache)
      utils.go                  newTextResult(), newJsonResult(), staticTextTool(), ErrFailedToFetchDashboard
    middleware/
      ratelimit.go              rate limiting middleware
pkg/
  everstake/dashboard/          HTTP client for dashboard-api.everstake.com
    dashboard.go                Dashboard client, base HTTP methods
    chains.go                   Chain types and API endpoints
    datafeed.go                 Data feed types and API endpoints
    leads.go                    Leads types and API endpoints
  log/
    log.go                      logrus wrapper
mcp.go                          embed tools.yaml, Version, ServiceName, DashboardCacheTtl consts
tools.yaml                      tool definitions (name derived from map key, not field)
Dockerfile                      multi-stage, golang:1.26.1-alpine builder + alpine:3.21 runtime
Makefile                        build automation (lint)

Read the full file on GitHub · 159 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 · 159 lines · 1,727 tokens per session scan A 6e56af68c1a6

Subscribe to this mod's changes

mcp CLAUDE.md is an instructions file published in the GitHub repository everstake/mcp (1 stars, last pushed 25d ago), licensed BSD-3-Clause. It adds 1,727 tokens to every session, about $0.0069 per session on Opus 5.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

mcp CLAUDE.md compared with instructions from other repositories

mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp CLAUDE.mdeverstake/mcpInstructions file125d agoBSD-3-ClauseA1,727Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA8,130Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,153GitHub Copilot
generative-ai-for-beginners AGENTS.mdmicrosoft/generative-ai-for-beginnersInstructions file124ktodayMITA2,981Codex, OpenCode