Docs
← Back to site

AI agents (MCP)

2 min readUpdated November 15, 2026

A read-only MCP server lets Claude, ChatGPT, Cursor and other AI agents read your stats, search data and SEO, and answer questions about them in plain words. Nothing can be changed through it.

Its tools#

  • list_sites and compare_sites: your websites, and all of them side by side (visitors, page views and revenue against the period before, visitors online now).
  • get_stats, get_report and get_realtime: one website’s totals and top lists (with its chart notes), any breakdown in full or the trend by hour, day, week or month, and who is on it right now. The propsinfo report lists every custom property with where it comes from (the page views and events that send it, how many different values, examples, first and last seen), so an agent can explain them or suggest which to tidy up; shortlinks gives Nahnu Links short links with the visits they brought; fullpages lists pages with their hostname, for websites on several addresses.
  • get_goals, get_funnel, get_journey and get_conversions: goals and funnels (a saved funnel with its optional steps, strict order, change from the period before and revenue per step, or steps the agent makes up), where visitors go next, and which sources and pages lead to sales and goals.
  • get_site_health, get_retention and get_feedback: errors, page speed, pages not found and clicks; who comes back; what visitors said.
  • get_search, get_indexing, get_seo, get_ai_visibility and get_site_audit: Google and Bing, sitemaps, tracked keywords, AI assistants and the site audit.

Every tool takes the dashboard’s periods (or any two dates), a comparison with the period or the year before, and the dashboard’s filters, such as one channel, country, page, device or campaign. Agents that show ready-made questions get five: a weekly summary, which websites grew, an SEO check-up, AI assistants and conversions. Single visitors, visits and recordings are not reachable through MCP.

Connect an agent#

  1. Go to Settings › MCP (administrators only) and copy the server address.
  2. In Claude, add it as a custom connector; in ChatGPT, under Developer mode › Connectors. The page has a button to each.
  3. Click Connect, sign in to WordPress if asked, then click Allow. There is no key to copy.
Settings › MCP with Claude and ChatGPT

Agents connected show on the same page, each with Disconnect. MCP can be turned off there. Only administrators can connect an agent, and an agent reads every website. For Claude Code:

claude mcp add --transport http nahnu https://youragency.com/wp-json/nahnu-analytics/v1/mcp

Agents without sign-in can send an API key for every website instead: --header "Authorization: Bearer nak_…". Keys limited to one client are refused.

If an agent cannot connect, see MCP connection check on any host.

Was this helpful?