Sign inGet started
Your agent (MCP)

Claude Code

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

Add nextanalytica's web analytics MCP server to Claude Code with one command and sign in in the browser; an agent key is for a server with no browser.

Updated

Claude Code is one of the two clients we test ourselves, and it connects to nextanalytica's remote MCP server with one command. Do it once, for every project.

Server address

https://mcp.nextanalytica.app/mcp

Quick setup

This is the path we recommend. Click Onboard your agent in the dashboard and paste the message into Claude Code. It runs the command below and asks you to sign in in the browser, then tells you what it sees on your site.

Manual setup

  1. Run, in your terminal:
claude mcp add --scope user --transport http nextanalytica https://mcp.nextanalytica.app/mcp
  1. Start Claude Code, run /mcp, choose nextanalytica, and sign in in the browser.
  2. Start a new session: a server added now shows its tools in a new session only.

--scope user makes it yours in every folder.

What about a server with no browser?

Use an agent key there, made with Key for a server in Access:

claude mcp add --scope user --transport http nextanalytica https://mcp.nextanalytica.app/mcp --header "Authorization: Bearer na_key_…"

Keep the key out of files you commit. On your own computer, sign in instead: while a key is in the settings, Claude Code doesn't offer the sign-in, even after the key is revoked.

Check it works

claude mcp list says Connected. Then ask "Call get_context for shop.example".

Can Claude Code load my skills?

Yes, as a plugin. Ask "Install my nextanalytica skills in Claude Code" and it calls get_skills_plugin.

What's next

  • Use cases: questions that work, by task.
  • MCP tools: every tool your agent can call.
  • FAQ: keys, projects, data and safety.
Related
  • Claude app: Add nextanalytica's web analytics MCP server to the Claude app, on the web or desktop, as a custom connector in four steps, then sign in once.
  • Codex: Add nextanalytica's web analytics MCP server to OpenAI's Codex with one command, then sign in once in the browser and ask about your site.
  • Cursor: Add nextanalytica's web analytics MCP server to Cursor in its MCP settings or mcp.json, signed in in the browser or with a personal agent key.
  • VS Code: Add nextanalytica's web analytics MCP server to VS Code's agent mode with one mcp.json file, then sign in once in the browser and ask away.
  • Windsurf: Add nextanalytica's web analytics MCP server to Windsurf's Cascade with one config file, then sign in once in the browser and ask about your site.
  • Zed: Add nextanalytica's web analytics MCP server to Zed's agent as a context server, or bridge to it with mcp-remote when your Zed runs only local servers.
Still have questions?
Was this page useful?