ysntony

AppsFlyer MCP Server

Community ysntony
Updated

AppsFlyer MCP Server

A Model Context Protocol (MCP) server for integrating AppsFlyer analytics data with AI assistants.

Features

  • Fetch aggregate data reports from AppsFlyer Pull API
  • Support for multiple report types: partners_report, partners_by_date_report, daily_report, geo_report, geo_by_date_report
  • Secure API token authentication
  • Type-safe input validation with Pydantic

Installation

git clone https://github.com/ysntony/appsflyer-mcp
cd appsflyer-mcp
uv sync

Configuration

Set up your AppsFlyer API credentials as environment variables:

export APPSFLYER_API_BASE_URL="https://hq1.appsflyer.com"
export APPSFLYER_TOKEN="your_api_token_here"

Or create a .env file:

APPSFLYER_API_BASE_URL=https://hq1.appsflyer.com
APPSFLYER_TOKEN=your_api_token_here

Usage

Running the MCP Server

uv run python run_server.py

MCP Configuration

Add to your MCP configuration file:

{
  "mcpServers": {
    "appsflyer": {
      "command": "uv",
      "args": ["run", "python", "run_server.py"],
      "cwd": "/path/to/appsflyer-mcp",
      "env": {
        "APPSFLYER_API_BASE_URL": "https://hq1.appsflyer.com",
        "APPSFLYER_TOKEN": "your_api_token_here"
      }
    }
  }
}

Available Tools

  • get_aggregate_data: Fetch aggregate data reports from AppsFlyer Pull API
  • test_appsflyer_connection: Test the connection to AppsFlyer API

Report Types

  • partners_report: Partner performance data
  • partners_by_date_report: Daily partner performance data
  • daily_report: Daily aggregate data (default)
  • geo_report: Geographic performance data
  • geo_by_date_report: Daily geographic performance data

Development

uv sync --dev
pytest

License

MIT License

MCP Server · Populars

MCP Server · New

    Cassette-Editor

    Oh My Cassette: Chat Your Raw Clips Into a Finished Cut

    你的随身 AI 剪辑搭档 | Pocket AI co-editor for video montage — AI video editing plugin & MCP server for Claude Code, Codex, Hermes & OpenCode

    Community Cassette-Editor
    trendsmcp-ai

    Trends MCP

    MCP server for live trend data. Query Google Search, YouTube, TikTok, Reddit, Amazon, Wikipedia, News sentiment, Web Traffic, App Downloads, Steam, npm and more. Works with Claude, Cursor, VS Code, GitHub Copilot, ChatGPT, Windsurf, Cline, Raycast and any MCP-compatible.

    Community trendsmcp-ai
    jacob-bd

    Gemini Notebook (formerly Google NotebookLM) CLI & MCP Server

    Programmatic access to Gemini Notebook - via command-line interface (CLI), Model Context Protocol (MCP) server, and AI agent skills.

    Community jacob-bd
    PxyUp

    Fitter — web data for AI agents

    New way for collect information from the API's/Websites

    Community PxyUp
    kayhendriksen

    foehn

    Download MeteoSwiss Open Government Data — weather stations, radar, hail, forecasts and climate series — via Python API, CLI, or MCP server, as DataFrames, Parquet, xarray Datasets or Zarr stores

    Community kayhendriksen