ios-simulator-mcp: Instructions file for Claude Code

CLAUDE.md

ios-simulator-mcp CLAUDE.md is an instructions file for Claude Code from joshuayoes/ios-simulator-mcp. It costs 915 tokens per session, scanned A, original, MIT.

A project instruction file for an MCP server that lets AI assistants interact with iOS simulators. MCP is a standard way for an AI assistant to call external tools; this project exposes simulator actions through TypeScript.

In plain words
What is it for?
Use it when installing dependencies, building, watching, inspecting, or starting the iOS Simulator server.
Why use it?
It gives coding agents the project overview, build commands, dependency steps, and development workflow in one place. That reduces setup errors when changing or running the server.

Instructions file for Claude Code

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

This is joshuayoes/ios-simulator-mcp's own configuration. It tells Claude Code how to work on ios-simulator-mcp 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 ios-simulator-mcp configures →

About the project

ios-simulator-mcp is an MCP server that lets an AI agent inspect and control iOS simulators, including their available information, interface elements, and UI interactions. Developers use it to automate or examine applications running in the iOS Simulator. The catalogue entries provide instructions and commands for operating the server.

joshuayoes/ios-simulator-mcp · 2,209 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to joshuayoes/ios-simulator-mcp. 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/joshuayoes/ios-simulator-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/joshuayoes/ios-simulator-mcp

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 ios-simulator-mcp CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/joshuayoes/ios-simulator-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/joshuayoes/ios-simulator-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 915 This file is loaded in full into every session.
When invoked 915 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.00915 $0.00915
Opus 5.5 $0.00366 $0.00366
Sonnet 5.5 $0.00183 $0.00183
Haiku 4.5 $0.00092 $0.00092

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

Security

Grade A, and why

ios-simulator-mcp 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 · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 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 the iOS Simulator MCP (Model Context Protocol) server - a tool that enables AI assistants to interact with iOS simulators through MCP. The project follows an intentionally simple single-file architecture where all logic is contained in src/index.ts.

Build and Development Commands

npm is the default; pnpm is also supported (a pnpm-lock.yaml, derived from package-lock.json via pnpm import, is committed). Substitute pnpm for npm in any command below.

# Install dependencies
npm install

# Build the TypeScript project (compiles to build/)
npm run build

# Development with automatic rebuild on changes
npm run watch

# Run the MCP inspector for testing
npm run dev

# Start the compiled server
npm start

Architecture

The entire server implementation is in src/index.ts (single file by design). The server:

  • Uses the MCP SDK to expose tools for iOS simulator interaction
  • Wraps xcrun simctl and Facebook's idb commands
  • Validates all inputs with Zod schemas
  • Implements security best practices with -- argument separation
  • Supports environment-based tool filtering via IOS_SIMULATOR_MCP_FILTERED_TOOLS
  • Handles output paths with IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR environment variable

Available MCP Tools

The server provides these tools (can be filtered via environment variables):

  • get_booted_sim_id - Get the currently booted simulator ID
  • open_simulator - Open the iOS Simulator application
  • ui_describe_all - Get accessibility info for the entire screen
  • ui_tap - Tap at coordinates
  • ui_type - Input text
  • ui_swipe - Swipe gesture
  • ui_describe_point - Get element at specific coordinates
  • ui_find_element - Search accessibility tree for elements by label, identifier, or type
  • ui_view - Get compressed screenshot as base64 JPEG
  • screenshot - Save screenshot to file
  • record_video - Start video recording
  • stop_recording - Stop video recording
  • install_app - Install an app bundle (.app or .ipa) on the simulator
  • launch_app - Launch an app by bundle identifier
  • terminate_app - Terminate a running app by bundle identifier
  • open_url - Open a URL or deep link in the simulator
  • list_apps - List all installed apps with their bundle IDs and display names

Read the full file on GitHub · 89 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 · 89 lines · 915 tokens per session scan A 530a2a3b7290

Subscribe to this mod's changes

ios-simulator-mcp CLAUDE.md is an instructions file published in the GitHub repository joshuayoes/ios-simulator-mcp (2,209 stars, last pushed 10d ago), licensed MIT. It adds 915 tokens to every session, about $0.0037 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-30.

Related

ios-simulator-mcp CLAUDE.md compared with instructions from other repositories

ios-simulator-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ios-simulator-mcp CLAUDE.mdjoshuayoes/ios-simulator-mcpInstructions file2.2k10d agoMITA915Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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