app-store-privacy
Retrieve detailed privacy information for any app on the US App Store, including data types collected, usage purposes, and management options.
Instructions
Get privacy details for an App Store app. Returns an object with:
managePrivacyChoicesUrl: URL to manage privacy choices (if available)
privacyTypes: Array of privacy data types, each containing:
privacyType: Name of the privacy category
identifier: Unique identifier for the privacy type
description: Detailed description of how data is used
dataCategories: Array of data categories, each containing:
dataCategory: Category name
identifier: Category identifier
dataTypes: Array of specific data types collected
purposes: Array of purposes for data collection Note: Currently only available for US App Store.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric App ID (e.g., 553834731) |
Implementation Reference
- src/server.js:265-268 (handler)The handler function that executes the tool logic: takes app ID, calls store.privacy({ id }) from the app-store-scraper library, and returns the result as JSON text content.async ({ id }) => { const privacy = await store.privacy({ id }); return { content: [{ type: "text", text: JSON.stringify(privacy) }] }; }
- src/server.js:262-264 (schema)Zod input schema defining the required parameter 'id' as a number (App Store app ID).{ id: z.number().describe("Numeric App ID (e.g., 553834731)") },
- src/server.js:249-269 (registration)Registration of the 'app-store-privacy' tool using server.tool(), including description, input schema, and inline handler function.server.tool("app-store-privacy", "Get privacy details for an App Store app. Returns an object with:\n" + "- managePrivacyChoicesUrl: URL to manage privacy choices (if available)\n" + "- privacyTypes: Array of privacy data types, each containing:\n" + " - privacyType: Name of the privacy category\n" + " - identifier: Unique identifier for the privacy type\n" + " - description: Detailed description of how data is used\n" + " - dataCategories: Array of data categories, each containing:\n" + " - dataCategory: Category name\n" + " - identifier: Category identifier\n" + " - dataTypes: Array of specific data types collected\n" + " - purposes: Array of purposes for data collection\n" + "Note: Currently only available for US App Store.", { id: z.number().describe("Numeric App ID (e.g., 553834731)") }, async ({ id }) => { const privacy = await store.privacy({ id }); return { content: [{ type: "text", text: JSON.stringify(privacy) }] }; } );