todoist-mcp-server: Instructions file for Claude Code

CLAUDE.md

todoist-mcp-server CLAUDE.md is an instructions file for Claude Code from koki-develop/todoist-mcp-server. It costs 3,360 tokens per session, scanned A, original, MIT.

A set of Claude Code instructions for a TypeScript and Bun server that connects Todoist to AI assistants through the Model Context Protocol (MCP).

In plain words
What is it for?
Installing dependencies, building and running the Todoist MCP server, using Docker, running tests, checking code quality, and launching its MCP inspector.
Why use it?
It records the project's setup, build, run, testing, linting, formatting, and type-checking commands in one place.

Instructions file for Claude Code

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

This is koki-develop/todoist-mcp-server's own configuration. It tells Claude Code how to work on todoist-mcp-server 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 todoist-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to koki-develop/todoist-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.

Copy the file
curl -O https://raw.githubusercontent.com/koki-develop/todoist-mcp-server/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/koki-develop/todoist-mcp-server

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 todoist-mcp-server CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/koki-develop/todoist-mcp-server/claude-md/github.svg)](https://agentmods.dev/instructions/koki-develop/todoist-mcp-server/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/koki-develop/todoist-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/koki-develop/todoist-mcp-server/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 todoist-mcp-server CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/koki-develop/todoist-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/koki-develop/todoist-mcp-server/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,360 This file is loaded in full into every session.
When invoked 3,360 The same file — it is already loaded in full.
Security scan A 0 findings. 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.03360 $0.03360
Opus 5.5 $0.01344 $0.01344
Sonnet 5.5 $0.00672 $0.00672
Haiku 4.5 $0.00336 $0.00336

Measured 2mo ago against content hash 91655c1e208c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

todoist-mcp-server 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 2mo 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.

CLAUDE.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 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 (claude.ai/code) when working with code in this repository.

Project Overview

This is a Todoist MCP (Model Context Protocol) server built with TypeScript and Bun. The project integrates Todoist with AI assistants like Claude through the MCP standard, allowing AI to interact with Todoist tasks and projects.

Development Commands

# Install dependencies and setup tools
bun install       # Install Node.js dependencies
mise install      # Install required tool versions (Bun, Node.js, linting tools)

# Build and run
bun run build     # Build the MCP server to dist/index.js
bun dist/index.js # Run the built MCP server
# or for development: bun run src/index.ts

# Docker
docker build -t todoist-mcp-server .  # Build Docker image
docker run -e TODOIST_API_TOKEN=token todoist-mcp-server  # Run in container

# Testing
bun test          # Run all tests
bun test src/lib/todoist/client.spec.ts  # Run specific test file

# Code quality
bun run lint      # Check code with Biome
bun run format    # Format and fix code with Biome
bun run typecheck # Run TypeScript type checking

# MCP Server Testing
bun run inspector # Build and launch MCP Inspector for visual testing
bun run preinspector # Build server (runs automatically before inspector)

# GitHub Actions linting (requires mise tools)
actionlint        # Lint GitHub Actions workflow files
ghalint run       # Check GitHub Actions policies
zizmor . --persona=auditor  # Security audit GitHub Actions

# Action version management
pinact run -u     # Update GitHub Actions to latest versions

# Development workflow
bun run prepare   # Install git hooks (runs automatically on install)

Project Structure

src/              # Source code
├── index.ts      # Minimal entry point (delegates to server.ts)
├── server.ts     # MCP server initialization and configuration
├── mcp/          # Modular MCP architecture with colocation
│   └── tools/     # Tool handlers with co-located schemas  
│       ├── index.ts      # registerTools() aggregator
│       ├── projects.ts   # Project tools (CRUD + read operations)
│       ├── sections.ts   # Section tools (CRUD + read operations)
│       ├── tasks.ts      # Task tools (CRUD + close/reopen + read operations)
│       ├── labels.ts     # Label tools (create + update + individual/list read + delete operations)
│       ├── comments.ts   # Comment tools (separate task/project creation + read with pagination + update/delete)
└── lib/
    └── todoist/  # Todoist API client wrapper
        ├── client.ts     # TodoistClient class with CRUD operations
        ├── types.ts      # TypeScript types and interfaces
        └── client.spec.ts # Comprehensive test suite
scripts/          # Build and utility scripts
├── build.ts      # Bun.build configuration
dist/             # Built output (Bun runtime compatible)
Dockerfile        # Multi-stage Docker build with Bun

Read the full file on GitHub · 237 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. 2mo ago First seen · 237 lines · 3,360 tokens per session scan A 91655c1e208c

Subscribe to this mod's changes

todoist-mcp-server CLAUDE.md is an instructions file published in the GitHub repository koki-develop/todoist-mcp-server (7 stars, last pushed 7mo ago), licensed MIT. It adds 3,360 tokens to every session, about $0.0134 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.

Related

todoist-mcp-server CLAUDE.md compared with instructions from other repositories

todoist-mcp-server CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
todoist-mcp-server CLAUDE.mdkoki-develop/todoist-mcp-serverInstructions file77mo agoMITA3,360Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode