@cite42/mcp 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -13
- package/dist/stdio.cjs +3 -3
- package/dist/stdio.mjs +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @cite42/mcp
|
|
2
2
|
|
|
3
|
-
MCP server for [Cite42
|
|
3
|
+
MCP server for [Cite42, the AI search visibility, SEO keyword & trends API](https://www.cite42.dev): market research tools for your AI agent.
|
|
4
4
|
|
|
5
5
|
Once installed, your MCP client (Claude Code, Claude Desktop, Codex CLI, Cursor, Windsurf, etc.) can:
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ Once installed, your MCP client (Claude Code, Claude Desktop, Codex CLI, Cursor,
|
|
|
15
15
|
## Requirements
|
|
16
16
|
|
|
17
17
|
- **Node.js 18 or newer** (`node --version` to check)
|
|
18
|
-
- **A Cite42 API key**, free to create at [cite42.dev/app/keys](https://cite42.dev/app/keys)
|
|
18
|
+
- **A Cite42 API key**, free to create at [www.cite42.dev/app/keys](https://www.cite42.dev/app/keys)
|
|
19
19
|
|
|
20
20
|
## Installation
|
|
21
21
|
|
|
@@ -23,8 +23,8 @@ There is nothing to install manually. Every client below runs the server on dema
|
|
|
23
23
|
|
|
24
24
|
### Step 1: Get your API key
|
|
25
25
|
|
|
26
|
-
1. Sign in at [cite42.dev](https://cite42.dev)
|
|
27
|
-
2. Open **Dashboard → API Keys**: [cite42.dev/app/keys](https://cite42.dev/app/keys)
|
|
26
|
+
1. Sign in at [cite42.dev](https://www.cite42.dev)
|
|
27
|
+
2. Open **Dashboard → API Keys**: [www.cite42.dev/app/keys](https://www.cite42.dev/app/keys)
|
|
28
28
|
3. Create a key and copy it (it looks like `cite42_live_...`)
|
|
29
29
|
|
|
30
30
|
### Step 2: Add the server to your client
|
|
@@ -143,28 +143,29 @@ After restarting, just ask in plain language. Your agent picks the right Cite42
|
|
|
143
143
|
|
|
144
144
|
| Variable | Required | Default | Description |
|
|
145
145
|
| --- | --- | --- | --- |
|
|
146
|
-
| `CITE42_API_KEY` | Yes | (none) | Your API key from [cite42.dev/app/keys](https://cite42.dev/app/keys) |
|
|
147
|
-
| `CITE42_API_BASE` | No | `https://api.cite42.dev/v1` | Override the API base URL |
|
|
146
|
+
| `CITE42_API_KEY` | Yes | (none) | Your API key from [www.cite42.dev/app/keys](https://www.cite42.dev/app/keys) |
|
|
147
|
+
| `CITE42_API_BASE` | No | `https://api.www.cite42.dev/v1` | Override the API base URL |
|
|
148
148
|
|
|
149
149
|
You can also pass these as CLI flags instead of environment variables:
|
|
150
150
|
|
|
151
151
|
```bash
|
|
152
|
-
npx -y @cite42/mcp --api-key=cite42_live_your_key_here --api-base=https://api.cite42.dev/v1
|
|
152
|
+
npx -y @cite42/mcp --api-key=cite42_live_your_key_here --api-base=https://api.www.cite42.dev/v1
|
|
153
153
|
```
|
|
154
154
|
|
|
155
155
|
## Billing
|
|
156
156
|
|
|
157
|
-
Tool calls consume Cite42 credits from your account. Calls fail with a clear error if the API key is missing or credits run out. See [cite42.dev/pricing](https://cite42.dev/pricing).
|
|
157
|
+
Tool calls consume Cite42 credits from your account. Calls fail with a clear error if the API key is missing or credits run out. See [www.cite42.dev/pricing](https://www.cite42.dev/pricing).
|
|
158
158
|
|
|
159
159
|
## Troubleshooting
|
|
160
160
|
|
|
161
161
|
- **Server not listed after setup**: make sure you fully restarted the client (new terminal for CLI clients, full quit for desktop apps).
|
|
162
162
|
- **`command not found: npx`**: install Node.js 18+ from [nodejs.org](https://nodejs.org), then restart your terminal.
|
|
163
|
-
- **Tool calls fail with an auth error**: check the key was passed correctly (`CITE42_API_KEY`, no quotes or trailing spaces) and is active at [cite42.dev/app/keys](https://cite42.dev/app/keys).
|
|
164
|
-
- **Tool calls fail with a credits error**: top up credits at [cite42.dev/app](https://cite42.dev/app).
|
|
163
|
+
- **Tool calls fail with an auth error**: check the key was passed correctly (`CITE42_API_KEY`, no quotes or trailing spaces) and is active at [www.cite42.dev/app/keys](https://www.cite42.dev/app/keys).
|
|
164
|
+
- **Tool calls fail with a credits error**: top up credits at [www.cite42.dev/app](https://www.cite42.dev/app).
|
|
165
165
|
|
|
166
166
|
## Links
|
|
167
167
|
|
|
168
|
-
- Website: [
|
|
169
|
-
- API keys: [
|
|
170
|
-
- Docs: [
|
|
168
|
+
- Website: [Cite42 MCP: AI search visibility, brand rankings, SEO keywords & trends](https://www.cite42.dev)
|
|
169
|
+
- API keys: [Create a Cite42 API key](https://www.cite42.dev/app/keys)
|
|
170
|
+
- Docs: [Cite42 API & MCP documentation](https://www.cite42.dev/docs)
|
|
171
|
+
- Pricing: [Cite42 pay-per-call pricing](https://www.cite42.dev/pricing)
|
package/dist/stdio.cjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
var import_mcp = require("@mastra/mcp");
|
|
6
6
|
|
|
7
7
|
// src/client.ts
|
|
8
|
-
var DEFAULT_BASE_URL = "https://api.cite42.dev/v1";
|
|
8
|
+
var DEFAULT_BASE_URL = "https://api.www.cite42.dev/v1";
|
|
9
9
|
function readFlag(name) {
|
|
10
10
|
const argv = process.argv.slice(2);
|
|
11
11
|
const prefix = `--${name}=`;
|
|
@@ -236,14 +236,14 @@ var aivGenerateContentBrief = (0, import_tools.createTool)({
|
|
|
236
236
|
// src/stdio.ts
|
|
237
237
|
if (!resolveApiKey()) {
|
|
238
238
|
console.error(
|
|
239
|
-
"[@cite42/mcp] Missing API key. Set CITE42_API_KEY in your MCP client config (or pass --api-key=cite42_live_...). Get a key at https://cite42.dev/app/keys. Setup guide: https://www.npmjs.com/package/@cite42/mcp"
|
|
239
|
+
"[@cite42/mcp] Missing API key. Set CITE42_API_KEY in your MCP client config (or pass --api-key=cite42_live_...). Get a key at https://www.cite42.dev/app/keys. Setup guide: https://www.npmjs.com/package/@cite42/mcp"
|
|
240
240
|
);
|
|
241
241
|
process.exit(1);
|
|
242
242
|
}
|
|
243
243
|
var server = new import_mcp.MCPServer({
|
|
244
244
|
id: "cite42",
|
|
245
245
|
name: "Cite42",
|
|
246
|
-
version: "0.1.
|
|
246
|
+
version: "0.1.11",
|
|
247
247
|
description: "AI market data API: AI search, citations, SEO keywords, trends, and workflows.",
|
|
248
248
|
tools: {
|
|
249
249
|
cite42_search: aivSearch,
|
package/dist/stdio.mjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { MCPServer } from "@mastra/mcp";
|
|
5
5
|
|
|
6
6
|
// src/client.ts
|
|
7
|
-
var DEFAULT_BASE_URL = "https://api.cite42.dev/v1";
|
|
7
|
+
var DEFAULT_BASE_URL = "https://api.www.cite42.dev/v1";
|
|
8
8
|
function readFlag(name) {
|
|
9
9
|
const argv = process.argv.slice(2);
|
|
10
10
|
const prefix = `--${name}=`;
|
|
@@ -235,14 +235,14 @@ var aivGenerateContentBrief = createTool({
|
|
|
235
235
|
// src/stdio.ts
|
|
236
236
|
if (!resolveApiKey()) {
|
|
237
237
|
console.error(
|
|
238
|
-
"[@cite42/mcp] Missing API key. Set CITE42_API_KEY in your MCP client config (or pass --api-key=cite42_live_...). Get a key at https://cite42.dev/app/keys. Setup guide: https://www.npmjs.com/package/@cite42/mcp"
|
|
238
|
+
"[@cite42/mcp] Missing API key. Set CITE42_API_KEY in your MCP client config (or pass --api-key=cite42_live_...). Get a key at https://www.cite42.dev/app/keys. Setup guide: https://www.npmjs.com/package/@cite42/mcp"
|
|
239
239
|
);
|
|
240
240
|
process.exit(1);
|
|
241
241
|
}
|
|
242
242
|
var server = new MCPServer({
|
|
243
243
|
id: "cite42",
|
|
244
244
|
name: "Cite42",
|
|
245
|
-
version: "0.1.
|
|
245
|
+
version: "0.1.11",
|
|
246
246
|
description: "AI market data API: AI search, citations, SEO keywords, trends, and workflows.",
|
|
247
247
|
tools: {
|
|
248
248
|
cite42_search: aivSearch,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cite42/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "Cite42 MCP server: query ChatGPT, Claude, Perplexity, Gemini & Google AI Overviews for brand rankings, AI citations, SEO keyword data, and Reddit/YouTube trends. Works with Claude Code, Claude Desktop, Codex CLI, Cursor, and any MCP client.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=18"
|
|
62
62
|
},
|
|
63
|
-
"author": "Cite42 <support@cite42.dev> (https://cite42.dev)",
|
|
64
|
-
"homepage": "https://cite42.dev",
|
|
63
|
+
"author": "Cite42 <support@cite42.dev> (https://www.cite42.dev)",
|
|
64
|
+
"homepage": "https://www.cite42.dev",
|
|
65
65
|
"bugs": {
|
|
66
66
|
"email": "support@cite42.dev",
|
|
67
|
-
"url": "https://cite42.dev/app/support"
|
|
67
|
+
"url": "https://www.cite42.dev/app/support"
|
|
68
68
|
}
|
|
69
69
|
}
|