> ## Documentation Index
> Fetch the complete documentation index at: https://creatorinsights.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Setup & AI Clients

> Connect Creator Insights to an MCP client and choose the right workspace for each request.

# MCP Setup & AI Clients

Connect your MCP client to `https://api.creatorinsights.in/mcp` using Streamable HTTP. In ChatGPT, add Creator Insights as a custom MCP server and complete the Creator Insights authorization. The workspace you choose during authorization becomes the default for that connection.

Clients that support an API key header can use an existing Creator Insights API key:

```json theme={null}
{
  "mcpServers": {
    "creator-insights": {
      "url": "https://api.creatorinsights.in/mcp",
      "headers": { "x-api-key": "YOUR_API_KEY" }
    }
  }
}
```

Keep API keys out of chat messages, shared repositories, screenshots and logs. Use the live `tools/list` response for current tool names and input fields.

## Use multiple workspaces with one connection

Call `list_workspaces` to get the active workspaces in your Creator Insights organization and their IDs. The workspace selected during authorization is the default, not the only one you can use. Pass another owned workspace ID in the `workspace` field to select its context, data and spending limit for a request. Keep each project's workspace ID in that project's agent instructions and pass it explicitly. Verify the returned `workspace_id` before using the results.

Call `get_workspace_context` once at the start of brand-specific research, then reuse that context for the session. An explicit research brief takes priority over inferred brand context. A workspace from another organization cannot be selected.

## Find popular videos

Use `find_popular_videos` for planned video research across Instagram, YouTube and TikTok. Send a natural-language `requirement`, the requested `platforms` and the selected `workspace`. Use `direct_keyword` with one platform for a suggested or already chosen term. Continue with the returned `cursor` and the same workspace. See [Popular Video Search](https://creatorinsights.mintlify.site/popular-video-search) for examples and results.

Do not send `max_credits`. The service can use up to four charged source queries per selected platform: at most 4 credits for one platform, 8 for two, or 12 for all three. Empty and failed source queries cost zero.

## Check credits before paid research

Set a spending limit for each workspace in Dashboard → Plans → Usage and call `get_workspace_credit_usage` with that workspace ID before searching. The minimum configurable workspace limit is 10 credits. If no limit is set, the shared organization balance is the remaining spending boundary. For a trial capped at four credits, search one platform first and check usage before starting another.

Raw public-data scraper tools are separate from Popular Video Search. They fetch public profiles, posts or search results and do not create trackers or apply the Popular ranking workflow. Publishing tools use connected accounts and separate permissions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.