get_android_categories
Extract and retrieve all available app categories from the Google Play Store using this tool, enabling efficient app classification and analysis within the MCP-AppStore server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:1618-1648 (handler)The complete handler implementation for the 'get_android_categories' MCP tool. It calls gplay.categories() from the google-play-scraper library to fetch all Android app categories and returns them as JSON via MCP content."get_android_categories", {}, async () => { try { // Retrieve all categories from Google Play Store const categories = await gplay.categories(); return { content: [{ type: "text", text: JSON.stringify({ platform: "android", count: categories.length, categories }, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: JSON.stringify({ error: error.message, platform: "android" }, null, 2) }], isError: true }; } } );