Agent-first analytics for MCP + web traffic — query, instrument and configure from a terminal or an MCP client.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add analyga --env ANALYGA_KEY='<ANALYGA_KEY>' -- npx -y analyga~/.codex/config.toml
[mcp_servers.analyga]
command = "npx"
args = ["-y", "analyga"]
env = { ANALYGA_KEY = "<ANALYGA_KEY>" }
# codex mcp add analyga --env ANALYGA_KEY='<ANALYGA_KEY>' -- npx -y analyga~/.cursor/mcp.json
{
"mcpServers": {
"analyga": {
"command": "npx",
"args": [
"-y",
"analyga"
],
"env": {
"ANALYGA_KEY": "<ANALYGA_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"analyga": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"analyga"
],
"env": {
"ANALYGA_KEY": "<ANALYGA_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"analyga": {
"command": "npx",
"args": [
"-y",
"analyga"
],
"env": {
"ANALYGA_KEY": "<ANALYGA_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"analyga": {
"command": "npx",
"args": [
"-y",
"analyga"
],
"env": {
"ANALYGA_KEY": "<ANALYGA_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"analyga": {
"command": "npx",
"args": [
"-y",
"analyga"
],
"env": {
"ANALYGA_KEY": "<ANALYGA_KEY>"
}
}
}
}Remote
claude mcp add --transport sse analyga https://mcp.analyga.com/sse --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
# Codex has no SSE transport: bridged through mcp-remote
[mcp_servers.analyga]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.analyga.com/sse", "--header", "Authorization:<AUTHORIZATION>"]~/.cursor/mcp.json
{
"mcpServers": {
"analyga": {
"url": "https://mcp.analyga.com/sse",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"analyga": {
"type": "sse",
"url": "https://mcp.analyga.com/sse",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"analyga": {
"url": "https://mcp.analyga.com/sse",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"analyga": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.analyga.com/sse",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"analyga": {
"url": "https://mcp.analyga.com/sse",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}Environment variables
ANALYGA_KEY
Replace the placeholders with your own credentials and keep them out of version control.