# Dimensions Analytics MCP Connect [Cursor](https://cursor.com), [Claude Desktop](https://claude.ai), VS Code, and other MCP clients to [Dimensions](https://www.dimensions.ai/) research data. Dimensions Analytics MCP lets your AI assistant search publications, grants, researchers, reports, source titles, and more; find topic-similar documents from an abstract; profile a researcher in one call; run analytics and trends; look up DOIs and Dimensions IDs; and explore the live Dimensions schema — all through natural language in tools your client already supports. After a short install, you configure your MCP client once, restart the app, and use **dimensions** like any other integration. Example prompts and workflows are in **[docs/USAGE.md](./docs/USAGE.md)**. ## Prerequisites - **[Node.js 20+](https://nodejs.org/)** — required for the guided installer and the local server; Claude Desktop supplies its own Node runtime for the extension, and the [hosted server](./docs/INSTALLATION.md#hosted-server) needs none - **[Dimensions API key](https://app.dimensions.ai/account/settings/general)** — from your [Dimensions](https://www.dimensions.ai/) account (same key as the [Dimensions DSL API](https://docs.dimensions.ai/dsl/)) Don’t have an API key yet? [Request a demo or quote here](https://www.dimensions.ai/request-a-demo-or-quote/). ## Quick install **Claude Desktop (macOS or Windows):** [download the latest extension](https://github.com/digital-science/dimensions-analytics-mcp/releases/latest/download/dimensions-analytics-mcp.mcpb), then open **Settings → Extensions → Advanced settings → Install Extension…** and select the file. Enter your API key in the extension settings. See [installation details](./docs/INSTALLATION.md#install-in-claude-desktop). **Other MCP clients:** use the guided installer below. **Hosted server (no install):** clients that can send an `Authorization` header — Cursor, VS Code, Windsurf, Claude Code, Codex CLI — can connect straight to `https://app.dimensions.ai/mcp` with `Authorization: Bearer `. The guided installer offers this too. See [Hosted server](./docs/INSTALLATION.md#hosted-server). **Mac / Linux** — paste in Terminal: ```bash bash -c "$(curl -fsSL https://raw.githubusercontent.com/digital-science/dimensions-analytics-mcp/main/scripts/install.sh)" ``` **Windows** — paste in PowerShell: ```powershell irm https://raw.githubusercontent.com/digital-science/dimensions-analytics-mcp/main/scripts/install.ps1 | iex ``` The installer checks Node.js, downloads Dimensions Analytics MCP, asks for your API key **and, if needed, a custom instance URL**, and configures Claude Desktop, Cursor, GitHub Copilot in VS Code, or Windsurf. Full details: **[Installation](./docs/INSTALLATION.md)**. No GitHub token is required. The installer downloads `@digital-science-dsl/dimensions-analytics-mcp` from npm. **Custom Dimensions instance:** If you log in at a URL other than `https://app.dimensions.ai` (for example `https://your-instance.dimensions.ai`), you **must** set `DIMENSIONS_BASE_URL` to that URL. A key from a custom instance fails with `401 Unauthorized` against the standard host. The installer asks for this; for manual config: ```json "env": { "DIMENSIONS_API_KEY": "your-api-key", "DIMENSIONS_BASE_URL": "https://your-instance.dimensions.ai" } ``` When done, **restart your AI app** and look for **dimensions** in MCP settings. Guided prefix installs update themselves for same-major npm releases; other install methods log an upgrade warning. Details: **[Updating](./docs/INSTALLATION.md#updating)**. ## Using Dimensions in chat Once connected, ask your assistant to search publications, grants, researchers, reports, journals, run analytics, or look up a DOI. Tool reference: [docs/USAGE.md](./docs/USAGE.md#all-mcp-tools). ## More documentation - [Installation](./docs/INSTALLATION.md) — guided installer, manual setup, and the hosted server - [Usage guide](./docs/USAGE.md) — workflows for AI assistants - [Reference](./docs/REFERENCE.md) — names, env vars, rate limits, schema cache - [MCP field aliases](./docs/MCP_FIELD_ALIASES.md) — field name shortcuts accepted by search tools Package: [`@digital-science-dsl/dimensions-analytics-mcp`](https://www.npmjs.com/package/@digital-science-dsl/dimensions-analytics-mcp) on npm. ## Privacy Policy This extension runs on your computer. It sends your API key and your queries only to the Dimensions API at the instance you configure (app.dimensions.ai by default). With each request it also sends usage metadata: the tool name, the extension version, the MCP client name, and a random session ID created when the server starts. Digital Science uses this metadata to monitor and improve the service. The extension doesn't send data to any other service, and the Claude Desktop extension doesn't check npm for updates. How Digital Science collects, uses, stores, shares, and retains this data, and how to contact us, is described in the [Dimensions privacy policy](https://www.dimensions.ai/privacy/). Questions: supportapi@dimensions.ai. ## License MIT