# MCP Analytics

Statistical analysis platform — upload CSV or connect GA4/GSC, run 77+ validated R-based analysis  modules (regression, ML, time series, churn prediction, marketing attribution, RFM segmentation). In…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add mcpanalytics/mcp-analytics

# Browse available tools
npx -y @smithery/cli@latest tool list mcpanalytics/mcp-analytics

# Get full schema for a tool
npx -y @smithery/cli@latest tool get mcpanalytics/mcp-analytics about

# Call a tool
npx -y @smithery/cli@latest tool call mcpanalytics/mcp-analytics about '{}'
```

## Direct MCP Connection

Endpoint: `https://mcp-analytics--mcpanalytics.run.tools`

**Optional config:**
- `MCP_ANALYTICS_API_KEY` (query) — Your MCP Analytics API key. Sign up free at https://app.mcpanalytics.ai (includes 2,000 credits).

## Tools (19)

- `about` — Get platform info, pricing, usage stats, or documentation.
- `discover_tools` — Find analysis tools matching your data or question. Semantic search across 50+ statistical and ML tools.
- `tools_schema` — Get JSON schema for a tool — column_mapping and module_parameters required before tools_run.
- `tools_run` — Execute an analysis tool. Returns a shareable interactive HTML report URL.
- `tools_info` — Get detailed information about a specific analysis tool — use cases, assumptions, data requirements.
- `datasets_upload` — Generate a secure upload token for CSV files. Returns UUID + curl command for the user.
- `datasets_list` — List and search uploaded datasets with fuzzy matching.
- `datasets_read` — Read, filter, and search dataset rows. Use 'search' to find text across all columns, 'filters' for multi-column AND fil…
- `datasets_download` — Generate a single-use download token for securely downloading datasets.
- `datasets_update` — Update dataset metadata — name, description, tags, visibility.
- `connectors_list` — List available data connectors — GA4, Google Search Console, and more.
- `connectors_query` — Pull live data from a connected source using connector:// URIs.
- `reports_list` — List analysis reports with metadata.
- `reports_search` — Search reports by job ID, tool name, or keyword.
- `reports_view` — View a specific report by processing ID.
- `report_cards` — Get individual card data from a report for rendering.
- `agent_advisor` — Conversational AI that guides analysis and interprets results.
- `billing` — Check credit balance, subscription status, or open billing portal.
- `module_request` — Request a custom analysis module to be built for your use case.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get mcpanalytics/mcp-analytics <tool-name>
```
