Claude 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/mcpQuick 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
- Run, in your terminal:
claude mcp add --scope user --transport http nextanalytica https://mcp.nextanalytica.app/mcp- Start Claude Code, run
/mcp, choose nextanalytica, and sign in in the browser. - 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.