Skip to main content
Glama
Unilytics MCP Server

Unilytics MCP Server

Official
README.md
# Unilytics MCP

Connects [Claude Desktop](https://claude.ai/download) and other MCP clients to your [Unilytics](https://unilytics.ai) account: your saved skills, your clients' context and Knowledge Base, and the SEO, content and AEO research tools.

## Connect Claude Desktop (recommended)

You don't need to install Node, edit a config file or keep your key in a text file.

1. Create an API key in the Unilytics app: [Settings → API Keys](https://app.unilytics.ai/settings/api-keys).
2. Download **[unilytics.mcpb](https://github.com/TeamUnilytics/unilytics-mcp/releases/latest/download/unilytics.mcpb)** and double-click it. Claude Desktop opens the install screen.
3. Click **Install**, paste your API key when Claude asks for it, and make sure the extension is switched on.
4. In the chat box, click the settings icon → **Tool access** → **Load tools when needed**. Unilytics has many tools, and with "Tools already loaded" Claude leaves them out of the chat.
5. Start a new chat and ask: *"List my projects on Unilytics."*

Full guide: [Install the Unilytics extension for Claude Desktop](https://github.com/TeamUnilytics/unilytics-mcp/blob/main/docs/user/claude-desktop-extension.md).

Prefer not to use a key? Claude can also connect with one link and your Google account: see [Connect Claude to Unilytics](https://unilytics.ai/docs/connect/).

## Install in Claude (plugin)

For a company Claude that blocks custom connectors but allows plugins. The plugin brings the Unilytics connector (you sign in with your Unilytics account, no key) and a "Use Unilytics" skill that starts each task from your saved skills.

- **Claude (web and desktop):** Customize → Plugins → Add → Upload plugin, with **[unilytics-plugin.zip](https://github.com/TeamUnilytics/unilytics-mcp/releases/download/plugin-v1.0.0/unilytics-plugin.zip)**. Or add the marketplace `https://github.com/TeamUnilytics/unilytics-mcp`. Then open the plugin's **Connectors** tab and click **Connect**.
- **Claude Code:** `/plugin marketplace add TeamUnilytics/unilytics-mcp`, then `/plugin install unilytics@unilytics`, then `/mcp` to sign in.

Full guide: [Install the Unilytics plugin for Claude](https://github.com/TeamUnilytics/unilytics-mcp/blob/main/docs/user/claude-plugin.md). The plugin lives in `plugins/unilytics`, and the marketplace in `.claude-plugin/marketplace.json`. `npm run build:plugin` rebuilds the zip in `dist-plugin/` from the committed files. To release: bump `version` in `plugins/unilytics/.claude-plugin/plugin.json` and the two zip links (here and in the guide; the build fails until they agree), merge, then run `node scripts/release-plugin.mjs` on `main`. It publishes `plugin-v<version>`, never marked "latest", and checks that `releases/latest/download/unilytics.mcpb` still serves the Desktop extension. Marketplace installs pick up a change only when that `version` changes.

## Other MCP clients (npm)

For Claude Code and other stdio clients. Needs Node 18 or newer.

```bash
claude mcp add unilytics --scope user --env UNILYTICS_API_KEY=ulk_live_your_key -- npx -y @unilytics/mcp-server
```

Any client with an `mcpServers` config:

```json
{
  "mcpServers": {
    "unilytics": {
      "command": "npx",
      "args": ["-y", "@unilytics/mcp-server"],
      "env": { "UNILYTICS_API_KEY": "ulk_live_your_key" }
    }
  }
}
```

On Windows, use `"command": "cmd"` and `"args": ["/c", "npx", "-y", "@unilytics/mcp-server"]`.

Pass the key with `UNILYTICS_API_KEY` (recommended) or `--api-key=ulk_live_xxx`.

## Tools

The tools are served by Unilytics, so new and changed tools reach you without updating anything here. Your AI lists every tool when it connects. Some use credits from your account. These are the groups, with a few tools from each:

| Group | What it's for | For example |
|---|---|---|
| Skills | Find, read and write your saved skills | `find_skill`, `list_skills`, `get_skill`, `create_skill`, `update_skill` |
| Client context | Each client's Brand Context, Context records and settings | `list_projects`, `get_project_context`, `propose_context_record`, `propose_brand_kit`, `list_context_gaps` |
| Knowledge Base and files | Store and search each client's documents, pages and files | `kb_search`, `kb_write_text`, `kb_add_urls`, `upload_file_to_project`, `create_upload_link` |
| SEO research | Keywords, search results, on-page checks and page speed | `keyword_research`, `serp_results`, `on_page_audit`, `page_speed_audit`, `google_trends` |
| AEO and AI search | Prompts to track, and how AI answers mention and cite a brand | `aeo_generate_prompts`, `aeo_prompt_volume`, `brand_visibility`, `ai_citation_check` |
| Web pages | Read, crawl and screenshot websites | `content_scrape`, `js_scrape`, `site_crawl`, `site_map`, `page_screenshot` |
| Competitors and ads | Watch competitor pages for changes and see the ads they run; browse ad audiences for your own campaigns | `watch_competitor`, `get_competitor_changes`, `google_ads_transparency`, `audience_segments` |
| Account | Your credit balance, and which accounts are linked to a project in the app (it doesn't read their data) | `get_credit_balance`, `list_connections` |

Competitor watches (`watch_competitor`) run on a schedule, and each run uses credits.

### What isn't included

- **Google Search Console and GA4 data.** Unilytics doesn't serve your first-party analytics. Connect your AI to them with your own connector (for example a Search Console or GA4 MCP server), and the skills use it.
- **Backlinks, ranking keywords, top pages and traffic history.** Use your own Semrush or Ahrefs connection.

## How it works

A thin stdio-to-HTTP bridge. Your MCP client talks to it over stdin/stdout, and it forwards each message to `https://mcp.unilytics.ai/mcp` with your key. Everything runs server-side; the bridge stores nothing.

If a request fails, your AI gets an error saying what to do. A failed tool call is never retried automatically, because the first attempt may have finished and used credits.

## Versions and updates

The version in `package.json` is the only version number: the manifest is stamped from it at build time, and `src/version.ts` is pinned to it by a test.

- **Releasing.** Merging a new `version` to `main` publishes `unilytics.mcpb` as GitHub release `v<version>` (`.github/workflows/release.yml`), after the tests pass on the packed file on Linux, macOS and Windows. Published releases are immutable (a repository setting). If a run fails, re-run it from the Actions tab (Release → Run workflow). npm is a separate, manual `npm publish` from the same commit.
- **Download URLs.** `releases/latest/download/unilytics.mcpb` always serves the newest release. Every version keeps its own URL (`releases/download/v1.1.0/unilytics.mcpb`) for rollback.
- **Verify a download.** `gh attestation verify unilytics.mcpb --repo TeamUnilytics/unilytics-mcp`
- **No auto-update.** Claude Desktop doesn't update extensions installed from a file. New and changed tools arrive from the server with no reinstall. A bridge release is for a bug or security fix in the bridge itself, and users get it by double-clicking the new file, which replaces the old version.
- **Keep old bridges working.** Installed copies stay in use indefinitely, so the server must keep speaking MCP over Streamable HTTP at `https://mcp.unilytics.ai/mcp`, **answering each POST with a JSON response, not an SSE stream**, and tool changes reach them as ordinary `tools/list` changes. The bridge can only report a failed reply when the POST itself fails. If a stream dropped, a request would wait until the client's own timeout. `npm run test:live` checks this against the live endpoint. The `User-Agent` (`unilytics-mcp-bridge/<version>`) shows which versions are still in use. Before retiring a version or shipping a security fix, tell users through the app and the changelog.
- **Never rename.** `name` and `author.name` in `mcpb/manifest.json` form the extension's id. Changing either makes Claude Desktop treat an update as a different extension, with a second copy and a lost key. The default URL can't change either: the bridge refuses cross-origin redirects, because the key travels with every request.

## Development

```bash
npm ci
npm test                # bridge tests
npm run build:mcpb      # dist-mcpb/unilytics.mcpb
npm run test:mcpb       # unpacks it outside the repo and runs the same tests on it
npm run test:live       # the live endpoint still answers with JSON (no key needed, uses a made-up one)
npm run test:docs       # every tool this README and the manifest name is still served (also weekly in CI)
```

Only the packages allowed in `scripts/build-mcpb.mjs` may enter the bundle. The build stops if a dependency update brings in another one.

## Links

- [Unilytics](https://unilytics.ai)
- [Model Context Protocol](https://modelcontextprotocol.io)
- [MCP Bundles (.mcpb)](https://github.com/anthropics/mcpb)

TDQS

B3.4/5.0

Scored across 93 tools

Disambiguation2/5

Several tool pairs appear to do nearly the same thing: serp_results and aeo_serp_urls both return ranked Google organic results (same provider, same async pending semantics), and content_scrape, js_scrape and batch_scrape overlap heavily with site_crawl and site_map. The kb_* family (kb_add_file, kb_create_direct_upload, kb_write_text, kb_add_urls, create_upload_link + register_project_file) plus brand_visibility vs ai_citation_check vs aeo_audit_prompts create additional boundary confusion despite very long descriptions.

Naming Consistency3/5

Casing is consistently snake_case, but verb style is mixed: many are verb_noun (create_project, delete_skill, get_competitor_changes) while others are bare nouns or domain phrases (site_map, brand_visibility, keyword_research, google_trends, demographic_options, audience_segments, serp_results). Prefix families (kb_, aeo_, list_/get_/propose_) help somewhat but the overall pattern is not predictable.

Tool Count2/5

93 tools is far beyond what an agent can reliably select among, even for a broad SEO/AEO/content platform. The breadth (scraping, SERP, KB, skills, projects, context, competitor monitoring, connected MCP tools) is genuine, but the surface is heavily over-expanded rather than curated.

Completeness4/5

Coverage is broad and deep: full KB lifecycle, skill CRUD plus memory and proposals, project config and files, Context/Brand Context drafting and gaps, competitor monitoring and AEO/SERP analytics. Minor gaps remain, e.g. no update/delete project, no delete folder, and prompts can be added but not listed or removed.

Maintenance

ActivityActive
ResponsivenessNo recent community issues