Borrowing it
Nothing to install: this file belongs to askads/mcp-vk-ads. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/askads/mcp-vk-ads/main/CLAUDE.mdgit clone --depth 1 https://github.com/askads/mcp-vk-adsWrote 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/askads/mcp-vk-ads/claude-md)<a href="https://agentmods.dev/instructions/askads/mcp-vk-ads/claude-md"><img src="https://agentmods.dev/badge/instructions/askads/mcp-vk-ads/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.
<a href="https://agentmods.dev/instructions/askads/mcp-vk-ads/claude-md"><img src="https://agentmods.dev/badge/instructions/askads/mcp-vk-ads/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.01778 | $0.01778 |
| Opus 5.5 | $0.00711 | $0.00711 |
| Sonnet 5.5 | $0.00356 | $0.00356 |
| Haiku 4.5 | $0.00178 | $0.00178 |
Grade A, and why
mcp-vk-ads 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 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.
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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — mcp-vk-ads
MCP server for the VK Ads (VK Реклама) API (TypeScript, stdio). Tools wrap the REST
endpoints; raw_request is the escape hatch for everything without a dedicated tool.
Commands
npm run dev # run from source (tsx watch)
npm test # unit tests, no network
npm run typecheck # types for src + tests
npm run build # emit dist/
npm run smoke # live READ-ONLY calls (needs VK_ADS_TOKEN)
More detail in docs/DEVELOPMENT.md. Tool list: docs/TOOLS.md.
Architecture
src/client.ts— HTTP client overhttps://ads.vk.com/api(override withVK_ADS_API_BASE): Bearer auth resolved per request fromTokenStore(so a login mid-session takes effect at once) with one silent refresh+replay on 401, AbortController timeout (covers reading the body), SSRF guard (buildUrlrefuses a path resolving off the API origin), retry/backoff (honorsRetry-After) — 429 for any method, but 5xx and network errors ONLY for idempotent GET (a retried POST could duplicate a create),getAlloffset/count pagination,VkAdsError(status, body). No sandbox, no quota header, no async report polling.src/tools/*.ts— one file per area (auth,account,adPlans,adGroups,banners,statistics,raw), each exportsregister<Name>Tools(server, client).src/oauth.ts/src/auth.ts/src/credentials.ts— the in-chat login.oauth.tstalks tov2/oauth2/token.json(mint + refresh, VK's error codes turned into advice);TokenStoreresolves the token per request (envVK_ADS_TOKENwins, else the stored login) and refreshes it;credentials.tsis the 0600 file under~/.config/mcp-vk-ads/.finish_loginstores the client_secret on purpose — VK refuses arefresh_tokengrant without it.src/tools/util.ts— shared helpers (see conventions below).src/index.ts— wires everyregister*into the McpServer.src/telemetry.ts— anonymous usage pings (ids/names/versions only, never data or arguments; fire-and-forget, must never block or throw; opt-outASKADS_TELEMETRY=0). A server without a token no longer dies, so it pingsunconfigured_startinstead ofstartup_failed— keep them apart, orserver_startstops meaning "a usable install started".reasonis a closed vocabulary (missing_token,invalid_api_base, …) — never a variable's name or value.src/config.ts— env → config. A missing token is not an error: the server starts anyway so the user can connect from the chat (it used to exit before the MCP handshake, leaving a red cross and nothing to read). A malformed value still throwsConfigError(with areasoncode), whichindex.tscarries into the session instead of exiting.
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.
- 1mo ago Changed · +17 lines · +360 tokens per session 2ee175ac063e
- 2mo ago First seen · 90 lines · 1,418 tokens per session scan A 8202ed4478b5
mcp-vk-ads CLAUDE.md is an instructions file published in the GitHub repository askads/mcp-vk-ads (12 stars, last pushed 10d ago), licensed MIT. It adds 1,778 tokens to every session, about $0.0071 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.
mcp-vk-ads CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-vk-ads CLAUDE.mdaskads/mcp-vk-ads | Instructions file | 12 | 10d ago | MIT | A | 1,778 | Claude Code |
| data-scientist copilot-instructions.mdrealnghon/data-scientist | Instructions file | 2 | 4mo ago | MIT | A | 373 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,086 | GitHub Copilot |