amp_user_search
Pack: amplitude · Endpoint: https://gateway.pipeworx.io/amplitude/mcp
Search for users by ID or property (e.g., email, user_id). Returns matching profiles with properties, event history, and segments.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | Amplitude API key |
_secretKey | string | yes | Amplitude secret key |
user | string | yes | User search term (email, user_id, or Amplitude ID) |
Example call
Arguments
{
"_apiKey": "your-amplitude-api-key",
"_secretKey": "your-amplitude-secret-key",
"user": "[email protected]"
}
curl
curl -X POST https://gateway.pipeworx.io/amplitude/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"amp_user_search","arguments":{"_apiKey":"your-amplitude-api-key","_secretKey":"your-amplitude-secret-key","user":"[email protected]"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('amp_user_search', {
"_apiKey": "your-amplitude-api-key",
"_secretKey": "your-amplitude-secret-key",
"user": "[email protected]"
});
Response shape
| Field | Type | Description |
|---|---|---|
matches | array | Matching user profiles |
Full JSON Schema
{
"type": "object",
"properties": {
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amplitude_id": {
"type": "string",
"description": "Amplitude internal user ID"
},
"user_id": {
"type": "string",
"description": "User's ID from app"
},
"email": {
"type": "string",
"description": "User email address"
},
"properties": {
"type": "object",
"description": "User custom properties"
},
"segments": {
"type": "array",
"items": {
"type": "string"
},
"description": "User segment memberships"
},
"last_used": {
"type": "string",
"description": "Last activity timestamp"
}
}
},
"description": "Matching user profiles"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"amplitude": {
"url": "https://gateway.pipeworx.io/amplitude/mcp"
}
}
}
See Getting Started for client-specific install steps.