mcp-apple-reminders AGENTS.md

mcp-apple-reminders AGENTS.md is an instructions file for Codex, OpenCode from rex/mcp-apple-reminders. It costs 3,546 tokens per session, scanned A, original, MIT.

A set of AGENTS.md instructions for a macOS-only MCP server that connects coding agents to Apple Reminders. AGENTS.md is a project guide that tells an agent how the repository is structured, installed, tested, and completed.

In plain words
What is it for?
Use it when working on the Apple Reminders MCP repository to understand its layout, install it, handle macOS permissions, and run required checks.
Why use it?
It gives the agent the project's setup requirements and the commands it must run before declaring work finished.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/rex/mcp-apple-reminders/agents-md
Clone the repo
git clone --depth 1 https://github.com/rex/mcp-apple-reminders

Made for: Codex, OpenCode.

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 mcp-apple-reminders AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rex/mcp-apple-reminders/agents-md.svg)](https://agentmods.dev/instructions/rex/mcp-apple-reminders/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/rex/mcp-apple-reminders/agents-md"><img src="https://agentmods.dev/badge/instructions/rex/mcp-apple-reminders/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,546 This file is loaded in full into every session.
When invoked 3,546 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.03546 $0.03546
Opus 5 $0.01773 $0.01773
Sonnet 5 $0.00709 $0.00709
Haiku 4.5 $0.00355 $0.00355

Measured yesterday against content hash 23c5872c3790, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

mcp-apple-reminders 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 yesterday.

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.

AGENTS.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

1. Project snapshot

  • What: macOS-only MCP server exposing Apple Reminders (EventKit + private ReminderKit) to Claude Code, Codex, and Claude Desktop.
  • Runtime: Python 3.10+ (repo venv runs 3.13.5 from miniconda). MCP SDK 1.27+ (FastMCP) + PyObjC. Three-tier native layer at src/mcp_apple_reminders/_native/ (renamed from libs/pyremindkit/ in slice 0.2).
  • Platform: macOS only — depends on EventKit / ReminderKit and a granted Reminders permission on the interpreter binary.
  • Owner: @pierce (single-author repo as of 2026-05).
  • Non-goals: cross-platform support, reminder UI (use Reminders.app), iCloud sync logic (macOS handles it).

2. Setup

./install.sh                          # creates ./venv, installs editable pkg + deps, builds native helpers
./venv/bin/python3 verify_setup.py    # preflight: interpreter, deps, perms, client configs

Grant Reminders permission on first launch — approve the macOS dialog when verify_setup.py runs, OR run ./shim_mcp.sh once and approve. Permission is per-binary; the conda Python interpreter must be the one approved.

3. Commands the agent MUST run before declaring done

  • ruff check src/ tests/
  • black --check src/ tests/
  • ./venv/bin/python -m pytest tests/test_mcp_tools.py tests/test_workflow_tools.py tests/test_e2e.py — explicit paths (or make test-actual)
  • make check-architecture (line-limit gate: hard cap 400 lines/file)
  • make bump-patch (or minor/major) before commit — bump_required_per_commit: true

4. Repo layout

src/mcp_apple_reminders/        FastMCP server (server.py) + lifespan.py + models.py + formatting.py
src/mcp_apple_reminders/tools/  17 @mcp.tool modules: calendars, reminders, completion, queries,
                                workflow, groups, alarms, bulk, sections, smartlists, appearance,
                                templates, flags, attachments, grocery, agents, sampling (58 tools)
src/mcp_apple_reminders/resources/  @mcp.resource SQLite views (e.g. agents://current/{project})
src/mcp_apple_reminders/prompts/    @mcp.prompt canned workflows
src/mcp_apple_reminders/_native/    Three-tier native layer: sqlite.py (+ _sqlite_helpers) = reads;
                                eventkit.py = Swift EventKit helper; reminderkit.py +
                                reminderkit_actions.py = Obj-C ReminderKit (private) helper;
                                legacy PyObjC wrapper (core, _internal, calendars, models); bulk.py
src/mcp_apple_reminders/_native/bin/  Compiled rem_eventkit + rem_reminderkit (from _native/src/
                                *.swift / *.m; build with `make build-native`)
scripts/                        Gate scripts (bump_version, check_architecture, check_module_rules, …)
tests/                          Test suite (test_*.py) + tests/_support/ (TestResults harness, cleanup)
docs/                           MAP.md, TOOLS.md, SQLITE_SCHEMA.md, SECURITY-REVIEW.md, adr/, audits/
verify_setup.py                 Install + permission + client-config verification
install.sh, shim_mcp.sh         Bootstrap + first-run permission-prompt shim

Read the full file on GitHub · 101 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. yesterday Changed · -1 lines · -93 tokens per session 23c5872c3790
  2. 5d ago First seen · 102 lines · 3,639 tokens per session scan A 75a5374dd1a4

Subscribe to this mod's changes

mcp-apple-reminders AGENTS.md is an instructions file published in the GitHub repository rex/mcp-apple-reminders (0 stars, last pushed 2d ago), licensed MIT. It adds 3,546 tokens to every session, about $0.0177 per session on Opus 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.