MCP server exposing the CreatorDB V3 API to Claude Code / Claude Desktop / Cursor
claude mcp add creatordb -- npx -y @creatordbai/mcp-server{
"mcpServers": {
"creatordb": {
"command": "npx",
"args": ["-y", "@creatordbai/mcp-server"],
"env": {
"CREATORDB_API_KEY": "<creatordb_api_key>"
}
}
}
}CREATORDB_API_KEYMCP Servers overview
# creatordb-mcp-server
A [Model Context Protocol](https://modelcontextprotocol.io) server that exposes the [CreatorDB V3 API](https://apiv3.creatordb.app) to any MCP-compatible client (Claude Code, Claude Desktop, Cursor, etc.).
**45 tools across six surfaces:**
- **Creator-side data** — profile, performance, audience demographics, contact, content-detail, performance history for YouTube, Instagram, and TikTok
- **Creator search** — natural-language search across all three platforms, plus structured filter search per platform (country, language, follower thresholds, niches, hashtags, audience demographics, etc.)
- **Brand-side / sponsor intelligence** *(YouTube + Instagram only — TikTok brand data is not indexed)* — search CreatorDB's 10K+ indexed brands, pull a brand's full profile, list every creator a brand has sponsored, get aggregated audience demographics across a brand's sponsored creator pool, and cross-platform spend / CPM / CPE rollups. Most sponsor read endpoints cost 25 credits each — use deliberately.
- **Content search** — find individual videos, reels, images, shorts, or TikToks by content-level filters (publish time window, view/like thresholds, hashtags, sponsored-vs-organic, language, niche, etc.). Different from creator search — this returns posts, not channels.
- **Topic + niche taxonomies** — full catalogs (~470 YT topics, ~14K YT niches, ~10K each on IG/TT) for resolving the per-creator topic/niche IDs returned in profile responses.
- **Account** — credit usage broken down by endpoint and platform.
Every tool returns the underlying V3 JSON plus a `Credits used: N | Remaining: M` footer line, so the AI knows exactly what it's spending.
> **Working with Claude Code?** Open this README in Claude Code (or paste the URL into a Claude session) and say *"set up this MCP for me."* The steps below are written so an AI assistant can follow them top to bottom.
## Quick start
There are two ways to connect, depending on your client:
- **Local clients** (Claude Code, Claude Desktop, Cursor) run the server as a subprocess via `npx` — see [Install (local / stdio)](#install-local--stdio).
- **Web / mobile clients** (Claude web, Claude mobile) can't spawn subprocesses, so they connect to the hosted HTTP endpoint — see [Remote connector (Claude web / mobile)](#remote-connector-claude-web--mobile).
Both expose the same 45 tools. Both need a CreatorDB V3 API key.
1. **Prerequisites**
- For the local route: Node.js 22 or newer (`node -v` to check)
- A CreatorDB V3 API key — get one from <https://creatordb.app> account settings, or ask your team admin
2. **Pick a connection method** below
3. **Restart your MCP client** so it picks up the new tools
4. **Verify** by running `/mcp` in Claude Code — `creatordb` should appear with status `connected`
## Install (local / stdio)
For Claude Code, Claude Desktop, and Cursor. The server reads one environment variable: `CREATORDB_API_KEY` (your V3 key).
### Method A — `npx` from npm (recommended)
The package is published to npm as **`@creatordbai/mcp-server`**. No local clone, no SSH key, no GitHub access required:
**Claude Code:**
```bash
claude mcp add creatordb -s user \
-e CREATORDB_API_KEY=YOUR_CREATORDB_API_KEY \
-- npx -y @creatordbai/mcp-server
```
**Claude Desktop** — edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
```json
{
"mcpServers": {
"creatordb": {
"command": "npx",
"args": ["-y", "@creatordbai/mcp-server"],
"env": { "CREATORDB_API_KEY": "YOUR_CREATORDB_API_KEY" }
}
}
}
```
If you have GitHub org access and want to track `main` instead of the npm release, swap the npm name for `git+ssh://git@github.com/CreatorDB/creatordb-mcp-server.git` — the repo's `prepare` script will build on install.
### Method B — clone and build locally
Good if you want to read/modify the source, or if `npx` from git doesn't work in your environment.
```bash
git clone https://github.com/CreatorDB/creatordb-mcp-server.git
cd creatordb-mcp-server
npm install
npm run build
# Then register with Claude Code:
claude mcp add creatordb -s user \
-e CREATORDB_API_KEY=YOUR_CREATORDB_API_KEY \
-- node "$(pwd)/dist/index.js"
```
For Claude Desktop, use the same JSON as Method A but swap `command` + `args`:
```json
"command": "node",
"args": ["/absolute/path/to/creatordb-mcp-server/dist/index.js"],
```
### Method C — project-scoped via `.mcp.json` (best for teams)
Drop a `.mcp.json` into a CreatorDB project repo. Anyone who opens that repo in Claude Code gets prompted to enable the MCP — no per-person setup commands.
```json
{
"mcpServers": {
"creatordb": {
"command": "npx",
"args": ["-y", "git+ssh://git@github.com/CreatorDB/creatordb-mcp-server.git"],
"env": { "CREATORDB_API_KEY": "${CREATORDB_API_KEY}" }
}
}
}
```
`${CREATORDB_API_KEY}` reads from the user's shell environment, so the key stays out of git. Each teammate sets it once in their `.zshrc`/`.bash_profile`:
```bash
export CREATORDB_API_KEY=YOUR_CREATORDB_API_KEY
```
## Remote connector (Claude web / mobile)
Claude in the browser and the mobile apps can't spawn local subprocesses, so they connect to the **hosted HTTP endpoint** instead of running `npx`:
```
URL: https://mcp.creatordb.app/mcp
Auth: Authorization: Bearer <your CreatorDB V3 API key>
```
In Claude web: **Settings → Connectors → Add custom connector**, paste the URL, and provide your V3 API key as a Bearer token. The same 45 tools appear.
Notes:
- The endpoint is stateless — your API key is read per-request from the `Authorization` header and this endpoint keeps no separate copy of it. (CreatorDB stores the key itself as the credential it issued you, to validate each request.)
- Hosted as a Firebase Cloud Function (gen 2) in `asia-northeast1`; source is in [`functions/`](./functions).
- A health check is available at <https://mcp.creatordb.app/health> (no auth, 0 credits) — returns `{"status":"ok",...}` if the service is up.
- Visiting <https://mcp.creatordb.app> in a browser shows a short landing page with these same instructions.
## Changing your API key
You don't update a key inside the MCP server — it doesn't store keys. You change it in your client's MCP configuration and restart.
### Local install (Claude Code, Claude Desktop, Cursor)
Edit the same config file you used during setup:
- **Claude Desktop:** `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows)
- **Cursor:** `~/.cursor/mcp.json` (or the in-app MCP settings UI)
- **Claude Code:** `~/.mcp.json` or your project's `.mcp.json`
Change the `CREATORDB_API_KEY` value, then **fully restart the client** (⌘Q + reopen for Claude Desktop, restart the Cursor app, etc.). MCP clients only read the key at process startup.
If you set the key from your shell environment (Method C above, with `${CREATORDB_API_KEY}` syntax), update `~/.zshrc` / `~/.bash_profile` and restart your terminal before restarting the client.
### Remote connector (Claude web / mobile / Claude Desktop's "Add custom connector")
In **Settings → Connectors → CreatorDB**, either:
- **Edit the Bearer token** value in the connector's settings, save, and start a new conversation, or
- **Remove the connector and re-add it** with the new key — most foolproof if the edit-in-place UI is finicky.
### One thing to know about rotating a leaked key
Changing the key on the client side only swaps which key your tools authenticate with. **It does NOT invalidate the previous key.** If you're rotating because the old key was exposed:
1. Go to your CreatorDB account and **revoke the old key** there — that's what actually kills it at the V3 API layer.
2. Then update the MCP client to use the new key as above.
The MCP server never persists your key past a single request, so there's no server-side "stored key" to purge.
## Verify it works
After install, restart Claude Code (or your MCP client) and:
1. Run `/mcp` — you should see `creatordb` listed with status **connected**
2. Ask Claude something that uses the tools, e.g. *"use creatordb to look up the YouTube profile for MrBeast (channelId UCX6OQ3DkcsbYNE6H8uQQuVA)"*
3. The response should include creator data and a `Credits used: 2 | Remaining: …` footer
## Troubleshooting
| Symptom | Cause | Fix |
| --- | --- | --- |
| `/mcp` shows `creatordb` as `failed` or `connecting` forever | API key missing or wrong | Re-add with `claude mcp remove creatordb && claude mcp add …` using the correct key |
| Tools work but every response ends `Credits used: undefined` | Stale tool schema from an older build of this server | Restart the MCP client — clients cache the schema at session start |
| `Error: VALIDATION_ERROR` on Instagram tools | Passing `userId` instead of `uniqueId` | IG endpoints take the handle as `uniqueId`. Older clients with stale schemas hit this most |
| `npx` install fails with `EACCES: permission denied` | npx cache permission issue | `rm -rf ~/.npm/_npx` and re-run |
| `Error: ENOENT` or `cannot find dist/index.js` | Method B didn't run `npm run build` | `cd` into the repo and run `npm install && npm run build` |
| Tool descriptions seem outdated vs this README | Schema cached from an old version | `claude mcp remove creatordb && claude mcp add …` to force a re-fetch |
> **Why restarts matter** — MCP clients fetch the tool list once at session start. Server updates (new tools, renamed params, fixed costs) only show up after the client reconnects. This is the single most common confusion.
> **Upgrading to a newer published version?** `npx` caches packages by exact version, so a configured client keeps running whatever version it first downloaded. To force-pull the latest, either pin to `@latest` in your config (`npx -y @creatordbai/mcp-server@latest` re-resolves each launch) or clear the npx cache once (`rm -rf ~/.npm/_npx`).What people ask about creatordb-mcp-server
What is CreatorDB/creatordb-mcp-server?
+
CreatorDB/creatordb-mcp-server is mcp servers for the Claude AI ecosystem. MCP server exposing the CreatorDB V3 API to Claude Code / Claude Desktop / Cursor It has 2 GitHub stars and was last updated today.
How do I install creatordb-mcp-server?
+
You can install creatordb-mcp-server by cloning the repository (https://github.com/CreatorDB/creatordb-mcp-server) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is CreatorDB/creatordb-mcp-server safe to use?
+
CreatorDB/creatordb-mcp-server has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains CreatorDB/creatordb-mcp-server?
+
CreatorDB/creatordb-mcp-server is maintained by CreatorDB. The last recorded GitHub activity is from today, with 2 open issues.
Are there alternatives to creatordb-mcp-server?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy creatordb-mcp-server to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/creatordb-creatordb-mcp-server)<a href="https://claudewave.com/repo/creatordb-creatordb-mcp-server"><img src="https://claudewave.com/api/badge/creatordb-creatordb-mcp-server" alt="Featured on ClaudeWave: CreatorDB/creatordb-mcp-server" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!