MCP Setup Guide
Configure the AI Search Index MCP server with your preferred AI assistant.
Prerequisites
- Node.js 18 or higher
- AI Search Index account with active subscription
- API key from your dashboard
Installation
Install the MCP server globally:
npm install -g @aisearchindex/mcpClaude Desktop Setup
- 1
Open Claude Desktop Config
Open the Claude Desktop configuration file:
macOS~/Library/Application Support/Claude/claude_desktop_config.jsonWindows%APPDATA%\Claude\claude_desktop_config.json - 2
Add MCP Server Configuration
Add the AI Search Index server to your config:
{ "mcpServers": { "aisearchindex": { "command": "npx", "args": ["-y", "@aisearchindex/mcp"], "env": { "AISEARCHINDEX_API_KEY": "YOUR_API_KEY" } } } } - 3
Restart Claude Desktop
Fully quit and restart Claude Desktop to load the new configuration.
Cursor Setup
- 1
Open Cursor Settings
Press
Cmd/Ctrl + ,to open settings - 2
Navigate to MCP
Go to Features → MCP Servers
- 3
Add Server
Click Add MCP Server and enter:
Name: AI Search Index Command: npx -y @aisearchindex/mcp Environment Variables: AISEARCHINDEX_API_KEY=YOUR_API_KEY - 4
Enable and Reload
Toggle the server on and reload Cursor window.
Verify Setup
Test that the MCP server is working by asking your AI assistant:
"What AI bots visited my website today?"
If configured correctly, the AI will use the MCP tools to query your analytics and return the results.
Explore Available Tools
Learn about all the queries and tools available through the MCP server.
View Available Tools