Queries A/B test and experiment data from the Hackle API.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add hackle --env API_KEY='<API_KEY>' --env HACKLE_API_KEY='<HACKLE_API_KEY>' -- npx -y @hackle-io/hackle-mcp@latest~/.codex/config.toml
[mcp_servers.hackle]
command = "npx"
args = ["-y", "@hackle-io/hackle-mcp@latest"]
env = { API_KEY = "<API_KEY>", HACKLE_API_KEY = "<HACKLE_API_KEY>" }
# codex mcp add hackle --env API_KEY='<API_KEY>' --env HACKLE_API_KEY='<HACKLE_API_KEY>' -- npx -y @hackle-io/hackle-mcp@latest~/.cursor/mcp.json
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"hackle": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http hackle https://mcp.hackle.io/mcp~/.codex/config.toml
[mcp_servers.hackle]
url = "https://mcp.hackle.io/mcp"
# codex mcp add hackle --url https://mcp.hackle.io/mcp~/.cursor/mcp.json
{
"mcpServers": {
"hackle": {
"url": "https://mcp.hackle.io/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"hackle": {
"type": "http",
"url": "https://mcp.hackle.io/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"hackle": {
"httpUrl": "https://mcp.hackle.io/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.hackle.io/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"hackle": {
"url": "https://mcp.hackle.io/mcp"
}
}
}Environment variables
API_KEYHACKLE_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.