Documentation menuIntegrations: MCP

Integrations

Connect AI tools to Loogika with MCP

Loogika has an MCP server. MCP, the Model Context Protocol, lets an AI assistant call tools in another service. With it, an assistant can read your reports and manage goals, funnels, sites and teams for you.

Last updated . This guide belongs to API access and data export.

What is the address?

https://app.loogika.com/api/mcp

Add this address as a remote MCP server in your AI client. The client sends its requests there with POST.

How do you sign in?

MethodHow it works
API keyThe client sends Authorization: Bearer <key> with every request
OAuthThe client opens a Loogika sign-in and you approve the connection

Use an API key when your client lets you set a request header. Use OAuth when the client only asks for an address.

API keys are available on the Business and Agency plans. See API getting started for how to create one.

Which tools read data?

The server offers 42 tools. These 26 read data and change nothing.

AreaTools
Trafficget_overview get_overview_timeseries get_breakdown get_live_stats
Events and errorsget_events get_event_names get_errors
Performanceget_web_vitals
Behaviourget_retention get_journeys get_sessions get_session
Goals and funnelsget_goals get_funnels analyze_funnel
Segments and annotationslist_segments apply_segment get_annotations
Custom SQLget_query_schema run_query
Siteslist_sites get_site
Usersget_users get_user
Organizationlist_members list_teams

Which tools change data?

These 16 tools create, change or delete something.

AreaTools
Goalscreate_goal update_goal delete_goal
Funnelssave_funnel delete_funnel
Sitescreate_site update_site_config delete_site
Usersidentify_user update_user_traits delete_user
Membersadd_member update_member_site_access
Teamscreate_team update_team delete_team

An assistant with these tools can delete a site or a tracked user. Most AI clients ask before they run a tool. Keep that confirmation on for the tools in this table.

Questions about MCP

Do you need MCP to use the API?

No. MCP is a second way in, made for AI assistants. Your own code calls the API directly.

Can you put the key in a shared configuration file?

No. Anyone who can read the file can use the key. Keep it in the client's own settings or in a secret store.