google-play-categories
Retrieve Google Play Store category identifiers for filtering apps in market research and competitor analysis.
Instructions
Get list of all Google Play categories. Returns an array of category identifiers like:
'APPLICATION': All applications
'GAME': All games
'ANDROID_WEAR': Wear OS apps
'SOCIAL': Social apps
'PRODUCTIVITY': Productivity apps etc.
These category IDs can be used with the google-play-list tool to filter apps by category. Sample response: ['AUTO_AND_VEHICLES', 'LIBRARIES_AND_DEMO', 'LIFESTYLE', ...]
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.js:655-658 (handler)The handler function executes the tool logic by calling gplay.categories() to retrieve all Google Play category identifiers and returns the result as a JSON string in MCP content format.async () => { const categories = await gplay.categories(); return { content: [{ type: "text", text: JSON.stringify(categories) }] }; }
- src/server.js:654-654 (schema)The input schema is empty, indicating the tool requires no parameters.{}, // No parameters needed
- src/server.js:644-659 (registration)The registration of the 'google-play-categories' tool using McpServer.tool(), including description, schema, and inline handler function.server.tool("google-play-categories", "Get list of all Google Play categories. Returns an array of category identifiers like:\n" + "- 'APPLICATION': All applications\n" + "- 'GAME': All games\n" + "- 'ANDROID_WEAR': Wear OS apps\n" + "- 'SOCIAL': Social apps\n" + "- 'PRODUCTIVITY': Productivity apps\n" + "etc.\n\n" + "These category IDs can be used with the google-play-list tool to filter apps by category.\n" + "Sample response: ['AUTO_AND_VEHICLES', 'LIBRARIES_AND_DEMO', 'LIFESTYLE', ...]", {}, // No parameters needed async () => { const categories = await gplay.categories(); return { content: [{ type: "text", text: JSON.stringify(categories) }] }; } );