Borrowing it
Nothing to install: this file belongs to Grinv/anilist-mcp-server. 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/Grinv/anilist-mcp-server/main/AGENTS.mdgit clone --depth 1 https://github.com/Grinv/anilist-mcp-serverWrote 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/grinv/anilist-mcp-server/agents-md)<a href="https://agentmods.dev/instructions/grinv/anilist-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/grinv/anilist-mcp-server/agents-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/grinv/anilist-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/grinv/anilist-mcp-server/agents-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.04002 | $0.04002 |
| Opus 5.5 | $0.01601 | $0.01601 |
| Sonnet 5.5 | $0.00800 | $0.00800 |
| Haiku 4.5 | $0.00400 | $0.00400 |
Grade A, and why
anilist-mcp-server AGENTS.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 7d 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 — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Single source of truth for working on this repository — for any model or
agent. CLAUDE.md only links here (@AGENTS.md); keep all shared guidance in
this file, not in CLAUDE.md. (For end-user/runtime docs, see README.md.)
Project shape
A TypeScript MCP server for the AniList GraphQL API.
Reads (search/details/genres/tags/recommendations/threads/activity/public user
data) call the public GraphQL endpoint directly and need no credentials.
Personal-list and social tools (add/update/remove list entries, favourites,
follow, posting/deleting activity or threads, update_user, get_notifications)
act on the authenticated user's own AniList account and require a user access token —
see docs/auth.md for the OAuth model and docs/api-references.md
for AniList's API specifics (rate limits, mutation semantics, considerations)
before changing the client.
src/
index.ts # bin entry — calls start()
server.ts # buildServer() + start(); registers everything
config.ts # env → validated Config (zod)
version.ts # VERSION constant, kept in sync with package.json (checked by a test)
lib/ # http, rateLimit, cache, tokenStore, oauthLogin, errors, logger,
# result, graphql (the GraphQL request/error-mapping layer)
clients/ # anilist.ts — thin AniListClient facade (auth/config/login,
# exposes ctx(): AniListContext); anilist/*.ts — one file per
# domain (activity, context, favourites, fields, list, media,
# misc, notification, people, recommendation, search, thread,
# user), matching src/tools/* (plus fuzzyDate.ts: the
# date-filter encoders several domains share, and
# deleteById.ts: the four Delete* mutations' shared call).
# Tool handlers call these domain functions directly
# (e.g. `media.getMedia(client.ctx(), ...)`) rather than through a same-named method on AniListClient.
# anilist/ids.ts — branded numeric-ID type aliases (MediaId,
# ListEntryId, etc.), one per domain concept; every domain
# file's exported functions take these instead of plain
# `number` so e.g. a MediaId can't compile where a
# ListEntryId is expected. Compile-time only — see the
# file's own comment for why it has no zod runtime import.
# anilist/enums.ts — single source for the AniList enums
# re-typed on both sides of the boundary (MediaType,
# MediaListStatus, FavouriteKind, birthday kinds): one
# `as const` array per enum, feeding z.enum() in tools/ and
# the derived `(typeof X)[number]` type in these domain
# signatures, so runtime validation and the compile-time
# types can't drift. Lives here (not tools/) because
# clients/ can't import from tools/.
tools/ # misc.ts, activity.ts, list.ts, media.ts, notification.ts,
# people.ts, recommendation.ts, search.ts, thread.ts, user.ts,
# login.ts, guard.ts (never-throw wrapper), outputSchemas.ts
# (shared output-schema fragments, incl. anilistId and its
# per-domain branded variants — mediaId, listEntryId, etc.)
prompts.ts # MCP Prompts: multi-step plans that orchestrate the read tools
__tests__/ # node:test (*.test.ts) + helpers.ts
scripts/ # run-tests.ts, check-api.ts, sync-version.ts,
# preversion-check.ts (npm `preversion` gate — see the `release` skill)
.agents/skills/ # reusable agent workflows for this repo (e.g. live-audit/) —
# plain Markdown with a YAML frontmatter name/description,
# not tied to any one tool's orchestration features, per
# this file's agent-agnostic policy; same skill name/layout
# as this project's sibling MCP servers (tmdb-mcp, mal-mcp,
# steam-games-mcp) — sync improvements both ways rather
# than letting them drift. `.claude/skills` is a symlink
# here (Codex CLI/Gemini CLI read `.agents/skills`
# directly, Claude Code the symlink), so no skill content
# is duplicated per client path.
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.
- 7d ago Changed · +11 lines · +230 tokens per session 18dd8936b228
- 8d ago Changed · +9 lines · +141 tokens per session 4684fdb5258c
- 2mo ago First seen · 238 lines · 3,631 tokens per session scan A 8d467fb5699a
anilist-mcp-server AGENTS.md is an instructions file published in the GitHub repository Grinv/anilist-mcp-server (1 stars, last pushed 8d ago), licensed MIT. It adds 4,002 tokens to every session, about $0.0160 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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.