Node.js server implementing Model Context Protocol (MCP) for AppLovin Reporting API.
This server provides the following tool:
-
get_advertiser_report
: Retrieves campaign spending data from AppLovin Reporting API for advertisers.-
Input Parameters:
-
start_date
(string, required): The start date for the report inYYYY-MM-DD
format. -
end_date
(string, required): The end date for the report inYYYY-MM-DD
format. -
columns
(string, optional): Comma-separated list of columns to include (e.g., 'day,campaign,impressions,clicks,conversions,cost'). -
format
(string, optional): Format of the report data ('json' or 'csv'). Default is 'json'. -
filter_campaign
(string, optional): Filter results by campaign name. -
filter_country
(string, optional): Filter results by country (e.g., 'US,JP'). -
filter_platform
(string, optional): Filter results by platform (e.g., 'android,ios'). -
sort_column
(string, optional): Column to sort by (e.g., 'cost'). -
sort_order
(string, optional): Sort order ('ASC' or 'DESC').
-
- Output: Returns the report data in the specified format (JSON or CSV).
-
Input Parameters:
-
Environment Variables: Before running the server, you need to set the
APPLOVIN_API_KEY
environment variable. This key is used for authenticating with the AppLovin API. You can obtain this key from your AppLovin account.export APPLOVIN_API_KEY='your_applovin_api_key'
-
Make sure you have installed and updated to the latest version of Claude for Desktop.
-
Open the Claude for Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the AppLovin MCP server to the
mcpServers
configuration section:{ "mcpServers": { "applovin": { "command": "npx", "args": [ "-y", "@feedmob/applovin-reporting" ], // Adjust path as needed "env": { "APPLOVIN_API_KEY": "your_applovin_api_key" } } // ... other servers } }
- Clone the repository.
- Navigate to the
src/applovin-reporting
directory. - Install dependencies:
npm install
- Set the required environment variable (
APPLOVIN_API_KEY
). - Build the project:
npm run build
- Run the server directly:
node dist/index.js
MIT