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.
npx agentmods add instructions/shigechika/zapi-mcp/claude-mdgit clone --depth 1 https://github.com/shigechika/zapi-mcpWrote 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.
[](https://agentmods.dev/instructions/shigechika/zapi-mcp/claude-md)<a href="https://agentmods.dev/instructions/shigechika/zapi-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/shigechika/zapi-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01314 | $0.01314 |
| Opus 5 | $0.00657 | $0.00657 |
| Sonnet 5 | $0.00263 | $0.00263 |
| Haiku 4.5 | $0.00131 | $0.00131 |
Grade A, and why
zapi-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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Overview
MCP (Model Context Protocol) server for the Zabbix API. Exposes a
daily_brief morning-patrol summary plus problem/host/item query and
acknowledgement tools to AI assistants via STDIO transport, built on the
official mcp Python SDK's FastMCP.
Commands
uv sync --dev
uv run pytest -v # run all tests
uv run ruff check . # lint
uv run ruff format --check . # format check
This mirrors .github/workflows/ci.yml (separate lint and test jobs;
test runs on Python 3.10/3.12/3.13 on Linux plus one Windows 3.12 smoke job
to guard against stdio newline regressions).
Architecture
zapi_mcp/server.py— FastMCP server with 8 tools:health_check,daily_brief,get_problems,get_hosts,get_host_items,acknowledge_problem,set_maintenance(idempotent maintenance window, bylocationtag or by exact host name — exactly one of the two required; thin wrapper overzapi_lib.ZapiClient.set_maintenance/set_maintenance_for_hosts, which live on the base client, not justZapiProvisioner, specifically so this MCP server's plainZapiClientcan call them),get_maintenance_windows(the read counterpart: lists Active/Upcoming/Expired windows viazapi_lib.ZapiClient.get_maintenances, classifying "active" against each window's own one-time time period, not just its outer active_since/active_till frame — exact for windowsset_maintenancecreates; a recurring time period falls back to the outer frame and is labeled accordingly).daily_briefalso gains an "In Maintenance" section, independent of Active Problems, listing hosts under an active window plus any starting later today — cross-check other tools' findings against it before treating a planned outage as a new incident.zapi_mcp/client.py— backward-compatible re-export shim; the realZapiClient/ZapiError/tag_filternow live in the separatezapi-libpackage.zapi_mcp/categories.py—Categorydataclass +load_categories()for the optionalZABBIX_CATEGORIES_INI-drivendaily_briefsections.zapi_mcp/__main__.py— CLI entry point (--version/--check/--brief) and themcp.run()stdio server start. Themcp.run()call is wrapped inexcept (KeyboardInterrupt, asyncio.CancelledError)→os._exit(0): what escapes on ^C is Python-version-dependent (3.10 raisesCancelledError, 3.12/3.13 raiseKeyboardInterrupt) andos._exit(0)suppresses anyio's teardown traceback (guarded bytest_main.py::test_sigint_exits_cleanly).
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.
- 4d ago First seen · 90 lines · 1,314 tokens per session scan A 762c8b131f00
zapi-mcp CLAUDE.md is an instructions file published in the GitHub repository shigechika/zapi-mcp (0 stars, last pushed today), licensed MIT. It adds 1,314 tokens to every session, about $0.0066 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.
Other instructions, from other repositories
mcp-read-only-grafana CLAUDE.md
Instructions for lukleh/mcp-read-only-grafana, covering claude.md, project overview, runtime config location, development commands and install dependencies.
mcp-read-only-grafana AGENTS.md
Instructions for lukleh/mcp-read-only-grafana, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.
openrouter-mcp-multimodal AGENTS.md
AGENTS.md instructions for stabgan/openrouter-mcp-multimodal, covering agent instructions, before you ship, releasing (read this before publishing), short version and version files (must all match package.json).
Plonk AGENTS.md
AGENTS.md instructions for ostapondo/Plonk, covering agent rules, layout, adding a module, build & verify and code style.
mcp-dockhand copilot-review.instructions.md
Copilot instructions for strausmann/mcp-dockhand: When reviewing pull requests in this repository.
cyxj-groksearch CLAUDE.md
Claude Code instructions for chenyuxiaojin/cyxj-groksearch, covering claude.md, 常用命令 and 结构与坑.