Borrowing it
Nothing to install: this file belongs to wwiens/trakt_mcpserver. 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/wwiens/trakt_mcpserver/main/CLAUDE.mdgit clone --depth 1 https://github.com/wwiens/trakt_mcpserverWrote 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/wwiens/trakt_mcpserver/claude-md)<a href="https://agentmods.dev/instructions/wwiens/trakt_mcpserver/claude-md"><img src="https://agentmods.dev/badge/instructions/wwiens/trakt_mcpserver/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/wwiens/trakt_mcpserver/claude-md"><img src="https://agentmods.dev/badge/instructions/wwiens/trakt_mcpserver/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.02885 | $0.02885 |
| Opus 5.5 | $0.01154 | $0.01154 |
| Sonnet 5.5 | $0.00577 | $0.00577 |
| Haiku 4.5 | $0.00288 | $0.00288 |
Grade A, and why
trakt_mcpserver CLAUDE.md scanned grade A with 1 finding 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 14d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**Trakt API Reference**: https://developer.trakt.tv. For field names, request bodies, response shapes and status codes, use the OpenAPI spec at https://developer.trakt.tv/openapi.json. Guides are under `https://developer How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code when working with this repository.
Project Overview
Model Context Protocol (MCP) server bridging AI models with Trakt.tv API. Built with FastMCP, providing entertainment data access with OAuth authentication.
Trakt API Reference: https://developer.trakt.tv. For field names, request bodies, response shapes and status codes, use the OpenAPI spec at https://developer.trakt.tv/openapi.json. Guides are under https://developer.trakt.tv/docs/<page>; https://developer.trakt.tv/sitemap.xml lists every page. The pages are a JavaScript app, so fetch them with curl and strip the HTML.
Architecture - Single Responsibility Principle
CRITICAL REQUIREMENT: Every file must have exactly ONE clear purpose. No exceptions.
BEFORE ADDING FEATURES: Examine existing code patterns, design style, and architectural conventions to ensure consistency.
Domain boundaries mirror the Trakt API reference: Each top-level API resource (shows, movies, seasons, episodes, etc.) is its own domain — do NOT nest one domain's tools/clients inside another.
Current Structure
server/ # MCP server modules by domain
├── auth/ # Authentication tools/resources
├── shows/ # Show-specific tools/resources
├── seasons/ # Season-specific tools
├── movies/ # Movie-specific tools/resources
├── user/ # User data tools/resources
├── comments/ # Comment tools
├── search/ # Search tools
├── checkin/ # Check-in tools
└── prompts/ # MCP prompts
client/ # HTTP clients by domain
├── auth/ # Authentication client
├── shows/ # Show API client
├── seasons/ # Season API client
├── movies/ # Movie API client
├── comments/ # Comments API client
├── user/ # User API client
├── search/ # Search API client
└── checkin/ # Check-in API client
models/ # Pydantic models by domain
├── auth/ # Authentication models
├── formatters/ # Domain-specific formatters
├── movies/ # Movie models
├── shows/ # Show models
└── user/ # User models
config/ # Configuration by domain
├── auth/ # Auth constants
├── api/ # API constants
├── endpoints/ # API endpoints by domain
└── mcp/ # MCP resource/tool definitions
├── resources/ # Domain-specific MCP resources
└── tools/ # Domain-specific MCP tools
utils/api/ # API utilities
├── errors.py # Error handling decorator
└── responses.py # Response helpers
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.
- 14d ago Changed · +5 lines · +327 tokens per session c5f372c05927
- 2mo ago First seen · 255 lines · 2,558 tokens per session scan A ffbd463e1eda
trakt_mcpserver CLAUDE.md is an instructions file published in the GitHub repository wwiens/trakt_mcpserver (51 stars, last pushed 9d ago), licensed MIT. It adds 2,885 tokens to every session, about $0.0115 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
trakt_mcpserver CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| trakt_mcpserver CLAUDE.mdwwiens/trakt_mcpserver | Instructions file | 51 | 9d ago | MIT | A | 2,885 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | 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,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |