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.
git clone --depth 1 https://github.com/guiguito/AppStoresMCPWrote 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.
[](https://agentmods.dev/rules/guiguito/appstoresmcp/windsurf-rules)<a href="https://agentmods.dev/rules/guiguito/appstoresmcp/windsurf-rules"><img src="https://agentmods.dev/badge/rules/guiguito/appstoresmcp/windsurf-rules/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.
<a href="https://agentmods.dev/rules/guiguito/appstoresmcp/windsurf-rules"><img src="https://agentmods.dev/badge/rules/guiguito/appstoresmcp/windsurf-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02084 |
| Opus 5.5 | $0.00000 | $0.00834 |
| Sonnet 5.5 | $0.00000 | $0.00417 |
| Haiku 4.5 | $0.00000 | $0.00208 |
Grade A, and why
windsurf-rules 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.
App Store MCP Server - Windsurf Rules
Project Overview
- This is a TypeScript/Node.js MCP (Model Context Protocol) server for app store scraping
- Provides 20 MCP tools for Google Play Store and Apple App Store data access
- Uses Express for HTTP server with dual transport support (HTTP and SSE)
- Experimental status project - focus on stability and maintainability over new features
TypeScript Configuration & Style
Strict Type Safety
- Always use strict TypeScript with all strict mode options enabled
- Never use
anytype - useunknownwith proper type guards or define specific types - Enable and respect all strict compiler options:
noImplicitAny,noImplicitReturns,noImplicitThis,noUnusedLocals,noUnusedParameters,noUncheckedIndexedAccess - Use
readonlyfor immutable properties and arrays when applicable - Always declare explicit return types for functions and methods
Type Definitions
- Create interfaces for all data structures, especially tool input parameters
- Use
JSONSchema7type from 'json-schema' package for MCP tool schemas - Follow the pattern: interface for params + JSONSchema7 for input validation
- Group related types in
src/types/directory
Code Style
- Use JSDoc comments for all public classes, methods, and exported functions
- Include
@param,@returns,@throwstags in JSDoc where applicable - Mark private methods with
@privateJSDoc tag - Use descriptive variable names with full words (not abbreviations)
- Prefer
constoverlet, never usevar
MCP Tool Implementation Pattern
Tool Class Structure
When creating new MCP tools, follow this exact pattern:
/**
* [Tool Name] MCP Tool
* [Brief description of what the tool does]
*/
export class [ToolName]Tool implements MCPTool {
public readonly name = 'tool-name-kebab-case';
public readonly description = 'Clear description';
public readonly inputSchema: JSONSchema7 = {
type: 'object',
properties: { /* schema */ },
required: ['requiredParam'],
additionalProperties: false
};
async execute(params: [ParamsInterface]): Promise<any> {
try {
this.validateParams(params);
// Execute logic
return filterAppData(result, params.fullDetail || false);
} catch (error) {
return this.handleError(error, context);
}
}
private validateParams(params: any): void {
// Explicit validation with clear error messages
}
private handleError(error: any, context: string): any {
// Structured error response
}
}
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.
- 6d ago First seen · 261 lines · 0 tokens per session scan A 0cf6143fdfc9
windsurf-rules is a cursor rule published in the GitHub repository guiguito/AppStoresMCP (5 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,084 tokens. 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-11-02.
windsurf-rules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| windsurf-rulesguiguito/AppStoresMCP | Cursor rule | 5 | 6d ago | MIT | A | 0 | Windsurf |
| ponytailDietrichGebert/ponytail | Cursor rule | 187k | 10d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 101k | yesterday | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 75k | yesterday | Apache-2.0 | A | 1,147 | Cursor |
| control-plane-descriptorsprisma/orm | Cursor rule | 48k | yesterday | Apache-2.0 | A | 0 | Cursor |
| family-instance-domain-actionsprisma/orm | Cursor rule | 48k | yesterday | Apache-2.0 | A | 0 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | yesterday | Apache-2.0 | A | 0 | Cursor |