Lytical Docs
Browse the docs

MCP server documentation

Updated December 1, 2026

Connect your Lytical analytics data to AI assistants like Claude and ChatGPT using the Model Context Protocol (MCP).

Overview

The Lytical MCP Server gives your AI assistant access to your website analytics, SEO data, keyword and competitor research, and marketing insights. Ask questions in natural language and get instant answers about your traffic, top pages, visitor behavior, and more.

Quick Start

Connecting via Claude

  1. Open Claude settings
  2. Navigate to Connectors or MCP Servers
  3. Search for "Lytical" or add custom connector manually with Server URL: https://mcp.lytical.ai
  4. Click Connect and authorize with your Lytical account
  5. Start asking questions about your analytics!

Connecting via ChatGPT

  1. In ChatGPT, go to Settings →** Apps**
  2. Search for "Lytical" navigate to Advanced Settings→Developer Mode On→Create App
  3. Name: Lytical
  4. MCP Server URL: https://mcp.lytical.ai
  5. Authentication: OAuth
  6. Create
  7. Authorize access to your Lytical account
  8. Your analytics data is now available in conversations

Authentication

Lytical uses OAuth 2.0 for secure authentication. When you connect:

  • You'll be redirected to Lytical to sign in
  • Grant the assistant access to your Lytical data
  • The connection is established automatically

Your credentials are never shared with the AI assistant.

Plans

The MCP server works on every plan. Tools that read your own data (analytics, SEO scans, visitors, conversions) are available to everyone. Research tools that pull live search data, such as keyword metrics, rankings, backlinks and domain lookups, need a Lyte or Pro plan and count toward your monthly keyword lookup limit (1,000 on Lyte, 10,000 on Pro).

Available Tools

The server has 90+ tools, organized into groups:

Group What it covers
analytics Traffic, top pages, sources, referrers, locations, devices, events, UTM campaigns, AI and bot traffic, period comparisons
conversions Goals, funnels, attribution, revenue, form submissions, tracking links
visitors Visitor profiles, sessions, journeys, paths, retention, heatmaps, scroll depth
seo Site scans and issues, tracked keywords, Core Web Vitals, uptime, page speed, SSL, broken links
competitors Competitor scans, competing domains, keyword gaps
keyword_research Keyword metrics, related keywords, live rankings, trends
ai_search AI visibility, AI mentions, what ChatGPT, Gemini, Claude and Perplexity say about a topic
backlinks Backlink profiles, link gaps, spam scores
local Local map rankings, reviews, brand mentions
app_store App Store and Google Play keyword research
youtube YouTube rankings
companies Companies visiting your site and company tech stacks
experiments A/B tests and their results
actions Add tracked keywords, start a scan, create tracking links and goals (account admins only)

list_sites and get_account_info are always available.

Limiting the tool list

Some AI clients only use the first part of a long tool list (Cursor sends the first 40). To connect with only the groups you need, add toolsets to the server URL:

https://mcp.lytical.ai?toolsets=analytics,seo,competitors

Example Prompts

Here are some things you can ask:

Traffic Analysis

  • "What's my website traffic looking like this month?"
  • "Show me my top 10 pages by pageviews"
  • "Where is my traffic coming from?"
  • "Compare my traffic this week vs last week"

SEO Insights

  • "Run an SEO audit on my site"
  • "What SEO issues should I fix first?"
  • "How are my keywords ranking?"
  • "Show me pages with missing meta descriptions"

Visitor Behavior

  • "What devices do my visitors use?"
  • "Which countries do my visitors come from?"
  • "What are my top landing pages?"
  • "Show me my UTM campaign performance"

Real-time

  • "How many people are on my site right now?"
  • "What happened on my site today?"

Time Periods

Most tools accept a period parameter:

Period Description
today Current day
yesterday Previous day
last_7_days Past 7 days (default)
last_30_days Past 30 days
last_90_days Past 90 days
this_month Current calendar month
last_month Previous calendar month

Data Security

  • Limited writes: Only account admins can use the few tools that change anything (tracked keywords, scans, tracking links, goals)
  • OAuth 2.0: Industry-standard secure authentication
  • No conversation logging: Lytical does not see or store your AI conversations
  • Scoped access: Only your account's data is accessible

Troubleshooting

"Site not found" error

  • Ensure you have at least one website set up in Lytical
  • Check that the site_id matches a site in your account

"Unauthorized" error

  • Your OAuth token may have expired
  • Disconnect and reconnect the Lytical integration
  • Ensure you're signed into the correct Lytical account

No data returned

  • Verify your site has the Lytical tracking script installed
  • Check that data exists for the requested time period

Support

Was this article helpful?

Still stuck?

Ask Quincy in the app, or email support@lytical.ai.