> ## Documentation Index
> Fetch the complete documentation index at: https://docs.privy.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Analyze Privy data with Stripe

> Analyze Privy users, wallets, and balances with Stripe Sigma and Stripe Data Pipeline. Give AI agents access to Privy data through Stripe MCP.

Privy data is available in Stripe. Your team can analyze users, wallets, and asset balances across your apps without building a data pipeline.

Use it to:

* Track user growth and activity by app.
* Understand wallet inventory by type and custody.
* Report on historical asset balances.
* Combine Privy data with Stripe payments and other business data.
* Ask questions in plain language through an AI agent.

> [!NOTE]
>
> Privy data is in private preview. Access requires a [Stripe
> Sigma](https://stripe.com/sigma/pricing) or [Stripe Data
> Pipeline](https://stripe.com/data-pipeline/pricing) subscription. Contact your Privy or Stripe
> account team to enable it.

## Ways to access the data

| Option | Best for |
| - | - |
| [Stripe Sigma](https://docs.stripe.com/data/sigma) | Writing SQL reports in the Stripe Dashboard. |
| [Stripe Data Pipeline](https://docs.stripe.com/data/access-data-in-warehouse) | Syncing data to your warehouse to analyze alongside other business data. |
| [Stripe MCP](#give-ai-agents-access-to-privy-data) | Letting AI agents answer questions with SQL against the Privy datasets. |

## Get access

1. Contact your Privy or Stripe account team and confirm which Stripe account should receive the data.
2. After approval, query the tables in Sigma or configure a Data Pipeline destination.
3. Use the [Privy data guide](https://docs.stripe.com/data/privy-analytical-data) for data definitions, limitations, and example queries.

## Available data

| Table | Description |
| - | - |
| [`privy_external_users`](https://docs.stripe.com/data/privy-analytical-data#users) | Current non-deleted users by app, with activity timestamps and linked authentication and wallet indicators. Direct contact values are excluded. |
| [`privy_external_wallets`](https://docs.stripe.com/data/privy-analytical-data#wallets) | Current wallet profiles by app, including wallet type, custody, and import or export state. |
| [`privy_external_wallet_assets`](https://docs.stripe.com/data/privy-analytical-data#wallet-assets) | Historical daily closing balances for supported assets, with current wallet and app attribution. |

Stripe refreshes the datasets daily. Data typically lags by about 24 hours.

> [!WARNING]
>
> Stripe live mode and test mode contain the same production Privy data. Test mode does not provide
> a separate dataset for Privy development apps.

## Give AI agents access to Privy data

The [Stripe MCP server](https://docs.stripe.com/mcp) lets AI agents query Privy data in plain language. Its `stripe_analytics` tool discovers reporting tables and runs SQL against them.

1. Connect an agent to Stripe using the [AI analytics setup guide](https://docs.stripe.com/data/analyze-with-ai#connect-your-ai-agent).
2. Authorize the Stripe account that receives your Privy data, and grant the permissions listed in the guide.

Example prompts:

* "Use `privy_external_users` to count current non-deleted Privy users by app."
* "Use `privy_external_wallet_assets` to summarize daily USD balances by app over the last 30 days."

Agents query the same daily datasets, not real-time wallet balances.
