aso-mcp: Instructions file for Claude Code

CLAUDE.md

aso-mcp CLAUDE.md is an instructions file for Claude Code from KenanAtmaca/aso-mcp. It costs 5,718 tokens per session, scanned B, original, MIT.

Repository instructions for aso-mcp, a server package that connects an AI coding tool to app-store optimisation functions. They explain how to build, run, test, and publish the package.

In plain words
What is it for?
Use them when developing aso-mcp, running its test suites, inspecting the server, or publishing a new version.
Why use it?
They give coding agents the project's commands and conventions so changes can be made and checked consistently.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kenanatmaca/aso-mcp/claude-md.svg)](https://agentmods.dev/instructions/kenanatmaca/aso-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/kenanatmaca/aso-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/kenanatmaca/aso-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,718 This file is loaded in full into every session.
When invoked 5,718 The same file — it is already loaded in full.
Security scan B 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.05718 $0.05718
Opus 5 $0.02859 $0.02859
Sonnet 5 $0.01144 $0.01144
Haiku 4.5 $0.00572 $0.00572

Measured 8d ago against content hash ec22414238c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

aso-mcp CLAUDE.md scanned grade B 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 8d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

npm run build # Compile TypeScript to ./build + chmod 755
CLAUDE.md · 230 lines

How it starts

The opening of the file, as written. The whole thing — 230 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.

Package Info

The server reads its version dynamically from package.json at startup (src/server.ts), so MCP clients always see the published version without a manual sync step.

Build & Run Commands

npm run dev          # Run server directly with tsx (development)
npm run build        # Compile TypeScript to ./build + chmod 755
npm run start        # Run compiled server (production)
npm run inspect      # Open MCP Inspector in browser for interactive testing
npx tsx test.ts              # Core test suite (18 tests: cache, ranking history, scoring, scraping, integration)
npx tsx test-generation.ts   # ASO generation scenario tests (8 tests)
npx tsx test-phase3.ts       # Localization & report tests (4 tests)
npx tsx test-connect.ts      # App Store Connect tests (9 tests, locale mapping + optional live API)

Publishing

npm version patch|minor|major   # Bump version + git commit + tag
npm publish --access public     # Publish to npm (requires auth token)

Architecture

MCP Server serving 20 tools over stdio transport. Tools are registered in src/server.ts grouped by phase.

Data flow: Tool Handler → Zod Validation (min/max constraints) → SQLite Cache check → Rate Limiter (token bucket + exponential backoff retry) → Data Source → Custom Scoring (fallback) → Cache result (max 5000 entries) → Return JSON to client.

Tools (20)

# Tool Phase Description
1 search_keywords 1 Keyword traffic/difficulty scores + competitor apps
2 suggest_keywords 1 Keyword suggestions (category, similar, competition strategies, parallel execution). topOpportunities filtered via isHighOpportunity
3 get_app_details 1 Full app metadata, ratings, reviews count
4 analyze_competitors 2 Top-ranking apps comparison. Returns commonKeywords, uniqueKeywords, and competitorCoverage (per-app missing common analysis)
5 optimize_metadata 2 Title/subtitle/keyword field optimization suggestions
6 analyze_reviews 2 Sentiment analysis hybrid (keyword score + star-rating weight, fixes sarcastic reviews), complaints, feature requests
7 track_ranking 2 App ranking position for specific keywords. ID match cleanly distinguishes numeric track IDs from bundle IDs. Each fresh run saves snapshots to ranking_history
8 get_ranking_history 2 Position trends over time from locally saved track_ranking snapshots: daily positions, best/worst, change, improving/declining/stable per keyword
9 keyword_gap 2 Keyword difference between two apps (batch scoring)
10 localized_keywords 3 Multi-country keyword score comparison (parallel per country). Cache key sorts keywords + countries
11 get_aso_report 3 Comprehensive ASO report for an app
12 discover_keywords Gen Keyword discovery from scratch for new apps. Brand stop list filters competitor names from suggestions
13 generate_aso_brief Gen Complete ASO brief: greedy keyword-field packer, concrete suggested title + subtitle with char counts, parallel multi-market scoring
14 connect_setup 5 Configure & validate App Store Connect credentials
15 connect_get_app 5 Find app by bundle ID, get ASC ID + version state
16 connect_get_metadata 5 Read current metadata (name, subtitle, keywords, desc, supportUrl, marketingUrl) for a locale. Returns appInfoId + versionId for reuse
17 connect_update_metadata 5 Write metadata with char limit validation, HTML entity sanitization, cache invalidation, before/after diff. Reuses parent IDs from getMetadata
18 connect_batch_update_metadata 5 Batch update metadata for multiple locales in one call (max 40 locales)
19 connect_list_localizations 5 List all locales and metadata completeness status
20 clear_cache Util Clear local SQLite cache (does NOT touch ranking history)

Read the full file on GitHub · 230 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. 8d ago First seen · 230 lines · 5,718 tokens per session scan B ec22414238c0

Subscribe to this mod's changes

aso-mcp CLAUDE.md is an instructions file published in the GitHub repository KenanAtmaca/aso-mcp (5 stars, last pushed 2mo ago), licensed MIT. It adds 5,718 tokens to every session, about $0.0286 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens