trakt_mcpserver: Instructions file for Claude Code

CLAUDE.md

trakt_mcpserver CLAUDE.md is an instructions file for Claude Code from wwiens/trakt_mcpserver. It costs 2,885 tokens per session, scanned A, original, MIT.

Project instructions for Claude Code in the trakt_mcpserver repository, an MCP server related to Trakt, a service for tracking films and TV shows.

In plain words
What is it for?
They help when editing the repository, understanding its architecture, or adding domain-focused code.
Why use it?
They explain the project’s structure and require focused imports and single-purpose components, making changes fit the existing design.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is wwiens/trakt_mcpserver's own configuration. It tells Claude Code how to work on trakt_mcpserver itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything trakt_mcpserver configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/wwiens/trakt_mcpserver/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/wwiens/trakt_mcpserver

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 trakt_mcpserver CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/wwiens/trakt_mcpserver/claude-md/github.svg)](https://agentmods.dev/instructions/wwiens/trakt_mcpserver/claude-md)
Your own site
<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.

agentmods 80×15 button for trakt_mcpserver CLAUDE.md

Your own site · 80×15
<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>
Per session 2,885 This file is loaded in full into every session.
When invoked 2,885 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.02885 $0.02885
Opus 5.5 $0.01154 $0.01154
Sonnet 5.5 $0.00577 $0.00577
Haiku 4.5 $0.00288 $0.00288

Measured 14d ago against content hash c5f372c05927, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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
CLAUDE.md · 260 lines

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

Read the full file on GitHub · 260 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. 14d ago Changed · +5 lines · +327 tokens per session c5f372c05927
  2. 2mo ago First seen · 255 lines · 2,558 tokens per session scan A ffbd463e1eda

Subscribe to this mod's changes

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.

Related

trakt_mcpserver CLAUDE.md compared with instructions from other repositories

trakt_mcpserver CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trakt_mcpserver CLAUDE.mdwwiens/trakt_mcpserverInstructions file519d agoMITA2,885Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot