@cite42/mcp 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/README.md +42 -131
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,52 +1,31 @@
1
1
  # @cite42/mcp
2
2
 
3
- MCP (Model Context Protocol) server for the [Cite42](https://cite42.dev) API, built on
4
- [Mastra](https://mastra.ai).
3
+ Stdio MCP server for [Cite42](https://cite42.dev).
5
4
 
6
- Cite42 lets Claude Desktop, Cursor, Claude Code, VS Code, Windsurf, and other MCP clients query
7
- AI-search visibility, citations, SEO keyword data, Google Trends, Reddit/YouTube signals, and
8
- creator/agency workflow contracts.
5
+ Use Cite42 from your coding agent to:
9
6
 
10
- This package is a thin MCP client. It forwards tool calls to the hosted Cite42 REST API, so billing,
11
- metering, provider keys, caching, and rate limits stay server-side.
7
+ - check AI search answers across ChatGPT, Claude, Perplexity, Gemini, and Google AI Overview
8
+ - find citations, rankings, brand comparisons, and sentiment
9
+ - get SEO keyword data, Google Trends, Reddit trends, and YouTube trends
10
+ - run Cite42 workflows for content, demand, prompts, competitors, and citation gaps
12
11
 
13
- ## Requirements
12
+ Requires a Cite42 API key from [cite42.dev/app/keys](https://cite42.dev/app/keys).
14
13
 
15
- - Node.js 18 or newer
16
- - A Cite42 API key
17
- - Prepaid Cite42 credits
14
+ ## Claude Code
18
15
 
19
- Get an API key from [cite42.dev/app/keys](https://cite42.dev/app/keys). Top up credits at
20
- [cite42.dev/app/billing](https://cite42.dev/app/billing).
21
-
22
- Without an API key, the MCP server starts but tool calls cannot reach the Cite42 API.
23
-
24
- ## Install
25
-
26
- You do not need to install this package globally. Use `npx`; your MCP client will fetch and run the
27
- latest published version.
28
-
29
- ## Configure Claude Desktop
30
-
31
- Open your Claude Desktop config:
32
-
33
- - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
34
- - Windows: `%APPDATA%\Claude\claude_desktop_config.json`
16
+ ```bash
17
+ claude mcp add cite42 -e CITE42_API_KEY=cite42_live_your_key_here -- npx -y @cite42/mcp
18
+ ```
35
19
 
36
- Add the Cite42 MCP server:
20
+ ## Codex CLI
37
21
 
38
- ```json
39
- {
40
- "mcpServers": {
41
- "cite42": {
42
- "command": "npx",
43
- "args": ["-y", "@cite42/mcp", "--api-key=cite42_live_your_key_here"]
44
- }
45
- }
46
- }
22
+ ```bash
23
+ codex mcp add cite42 --env CITE42_API_KEY=cite42_live_your_key_here -- npx -y @cite42/mcp
47
24
  ```
48
25
 
49
- You can also pass the key as an environment variable:
26
+ ## Cursor
27
+
28
+ Add this to your MCP config:
50
29
 
51
30
  ```json
52
31
  {
@@ -54,103 +33,35 @@ You can also pass the key as an environment variable:
54
33
  "cite42": {
55
34
  "command": "npx",
56
35
  "args": ["-y", "@cite42/mcp"],
57
- "env": { "CITE42_API_KEY": "cite42_live_your_key_here" }
36
+ "env": {
37
+ "CITE42_API_KEY": "cite42_live_your_key_here"
38
+ }
58
39
  }
59
40
  }
60
41
  }
61
42
  ```
62
43
 
63
- Restart your MCP client after editing the config.
64
-
65
- ## Configuration
66
-
67
- | Setting | Flag | Env var | Default |
68
- | --- | --- | --- | --- |
69
- | API key | `--api-key=cite42_live_...` | `CITE42_API_KEY` | Required |
70
- | API base URL | `--api-base=...` | `CITE42_API_BASE` | `https://api.cite42.dev/v1` |
71
-
72
- Flags win over environment variables when both are set.
73
-
74
44
  ## Tools
75
45
 
76
- | Tool | What it does |
77
- | --- | --- |
78
- | `cite42_search` | Runs a query across ChatGPT, Claude, Perplexity, Gemini, and Google AI Overview, returning answers and cited sources. |
79
- | `cite42_citations` | Aggregates cited URLs for a query and can check whether a specific URL is cited. |
80
- | `cite42_rankings` | Measures competitor/brand mention rate, average position, and per-model ranking breakdown. |
81
- | `cite42_compare` | Compares one brand against competitors, including co-mention data. |
82
- | `cite42_sentiment` | Scores positive/neutral/negative brand sentiment with supporting phrases. |
83
- | `cite42_keywords` | Returns search volume, CPC, competition, competition level, and optional curated keyword ideas. |
84
- | `cite42_trends` | Returns Google Trends interest, related/rising queries, and trend direction. |
85
- | `cite42_reddit_trends` | Returns Reddit audience questions, pain points, threads, phrases, mentioned products, and URLs. |
86
- | `cite42_youtube_trends` | Returns YouTube rising videos, creator angles, title patterns, channels, and opportunities. |
87
- | `cite42_find_content_opportunities` | Combines AI search, SEO keywords, trends, Reddit, YouTube, and citations. |
88
- | `cite42_analyze_topic_demand` | Combines SEO demand, trends, AI answers, and audience conversations for a topic. |
89
- | `cite42_map_ai_prompts` | Discovers buyer prompts worth tracking from AI, SEO, trend, Reddit, and YouTube data. |
90
- | `cite42_analyze_competitor_content` | Combines AI rankings, comparisons, citations, keyword demand, and topic coverage. |
91
- | `cite42_find_ai_citation_gaps` | Finds AI queries where competitors are cited but your brand/domain/URL is not. |
92
- | `cite42_generate_content_brief` | Builds brief-ready data from AI answers, citations, SEO demand, trends, Reddit, and YouTube. |
93
-
94
- ## Model Selection
95
-
96
- The AI-search tools accept an optional `models` array:
97
-
98
- ```json
99
- {
100
- "query": "best customer support software for B2B SaaS",
101
- "models": ["perplexity", "gemini"]
102
- }
103
- ```
104
-
105
- Omit `models` to query all five surfaces: `chatgpt`, `claude`, `perplexity`, `gemini`, and
106
- `google_ai_overview`.
107
-
108
- ## Keyword Ideas
109
-
110
- `cite42_keywords` can return curated keyword ideas when `ideas` is true:
111
-
112
- ```json
113
- {
114
- "seed": "customer service software",
115
- "country": "us",
116
- "ideas": true
117
- }
118
- ```
119
-
120
- Each idea includes provider-backed metrics:
121
-
122
- ```json
123
- {
124
- "keyword": "customer support software",
125
- "volume": 1900,
126
- "cpc": 116.7,
127
- "competition": 0.15,
128
- "competitionLevel": "LOW"
129
- }
130
- ```
131
-
132
- The curation step selects from provider candidates only; it does not invent new keyword strings.
133
-
134
- ## Pricing
135
-
136
- Each successful tool call consumes credits from your Cite42 balance.
137
-
138
- | Tool group | Price |
139
- | --- | --- |
140
- | Search, citations, rankings, compare | Google AI Overview $0.01, Gemini $0.02, ChatGPT/Claude $0.04, Perplexity $0.05 per selected model |
141
- | Sentiment | Google AI Overview $0.03, Gemini $0.04, ChatGPT/Claude $0.06, Perplexity $0.07 per selected model |
142
- | Keywords | $0.15 per call |
143
- | Google Trends | $0.01 per call |
144
- | Reddit trends | $0.05 per call |
145
- | YouTube trends | $0.05 per call |
146
-
147
- Workflow tools are priced from the primitive tools they run. Check the Cite42 dashboard for current
148
- usage and balance.
149
-
150
- ## Usage Guidance
151
-
152
- Use Cite42 for AI-search, citation, SEO, keyword, trend, and market-research data. It is not a
153
- general coding or writing assistant. Code-related research is fine when the goal is to compare what
154
- AI models recommend or cite.
155
-
156
- If a task may require many calls or may cost more than a few dollars, ask the user before continuing.
46
+ - `cite42_search`
47
+ - `cite42_citations`
48
+ - `cite42_rankings`
49
+ - `cite42_compare`
50
+ - `cite42_sentiment`
51
+ - `cite42_keywords`
52
+ - `cite42_trends`
53
+ - `cite42_reddit_trends`
54
+ - `cite42_youtube_trends`
55
+ - `cite42_find_content_opportunities`
56
+ - `cite42_analyze_topic_demand`
57
+ - `cite42_map_ai_prompts`
58
+ - `cite42_analyze_competitor_content`
59
+ - `cite42_find_ai_citation_gaps`
60
+ - `cite42_generate_content_brief`
61
+
62
+ ## Notes
63
+
64
+ - This package uses stdio MCP.
65
+ - Tool calls use your Cite42 credits.
66
+ - No API key means no successful tool calls.
67
+ - Optional base URL: `CITE42_API_BASE` or `--api-base=https://...`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cite42/mcp",
3
- "version": "0.1.3",
4
- "description": "MCP server for the Cite42 API. Requires a Cite42 API key for AI search, citations, SEO keywords, trends, and workflows.",
3
+ "version": "0.1.4",
4
+ "description": "Stdio MCP server for Cite42 AI search, citations, SEO keywords, trends, and workflows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "bin": {