kusto-mcp CLAUDE.md

kusto-mcp CLAUDE.md is an instructions file for Claude Code from johnib/kusto-mcp. It costs 909 tokens per session, scanned A, original, MIT.

A repository instruction file for kusto-mcp, a connector for Kusto queries, which are used to search and analyse telemetry data. It documents rules for telemetry, testing, and local development.

In plain words
What is it for?
Use it when changing kusto-mcp telemetry, tests, CI, repository files, or code that calls the connector.
Why use it?
It records project-specific constraints so coding agents do not accidentally collect disallowed data, expose query details, or run local tests against the wrong telemetry destination.

Instructions file for Claude Code

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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/johnib/kusto-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/johnib/kusto-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 kusto-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/johnib/kusto-mcp/claude-md.svg)](https://agentmods.dev/instructions/johnib/kusto-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/johnib/kusto-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/johnib/kusto-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 909 This file is loaded in full into every session.
When invoked 909 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00909 $0.00909
Opus 5 $0.00454 $0.00454
Sonnet 5 $0.00182 $0.00182
Haiku 4.5 $0.00091 $0.00091

Measured 5d ago against content hash 58112aa20a0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

kusto-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 5d 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 · 60 lines

How it starts

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

kusto-mcp

Telemetry (product code)

  • Telemetry is always on. Never add an opt-out, enable flag, or env kill-switch — not even "for local dev". Only salted hashes and bounded enums may ship; README's "What is NEVER collected" is the contract.
  • Never export error messages or stacks — they echo query text and identifiers. Error class name only, plus an errno code where present (see recordSpanError).
  • Crash-path telemetry must never throw. A second failure inside a crash handler is what turned #180/#196 into a 100% CPU spin.
  • Never delete autoDetectResources: false (src/common/telemetry.ts:117). NodeSDK's default detectors add host.id, host.name and process.owner as resource attributes — under every span, and invisible to a span-attribute review.
  • Every local run ships real spans to the production Honeycomb dataset. src/index.ts starts telemetry unconditionally and npm run test:e2e spawns the built server and mocks nothing. machine.id persists to disk, so the machine joins the fleet permanently. Export OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:9999 before running the server or e2e locally.
  • Before analysing the Honeycomb kusto-mcp environment, read docs/telemetry-semantics.md if you have it — it holds the counting conventions and query gotchas. It is maintainer-local and deliberately untracked, so it is absent from a fresh clone and from CI; without it, derive conventions from the code rather than assuming span volume means anything.

Tests and CI

  • CI runs the unit project only; tests/e2e never runs there (it needs az login and a live cluster). Any regression guard that must hold goes in tests/unit.
  • CI order is lint → test → build, so dist/ does not exist while unit tests run.
  • Nothing lints or typechecks tests/: every lint script is eslint src and tsconfig.json includes only src/**/*. A type error in a new test surfaces only when jest executes that line.
  • npm run format is scoped to src/**/*.ts. Never prettier --write README.md or docs/*.md — it reflows unrelated lines into the diff.
  • CI is ubuntu-latest only, but Windows is ~75% of the fleet. A platform-specific fix gets no Closes # until a windows-latest A/B (baseline vs patched) has actually run.
  • Check CI with gh pr view --json statusCheckRollup, not by parsing gh pr checks — it renders cancelled jobs as fail.

Read the full file on GitHub · 60 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. 5d ago First seen · 60 lines · 909 tokens per session scan A 58112aa20a0c

Subscribe to this mod's changes

kusto-mcp CLAUDE.md is an instructions file published in the GitHub repository johnib/kusto-mcp (7 stars, last pushed yesterday), licensed MIT. It adds 909 tokens to every session, about $0.0045 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