@cite42/mcp 0.1.5 → 0.1.6

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 +77 -78
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,111 +1,110 @@
1
1
  # @cite42/mcp
2
2
 
3
- Use Cite42 inside Claude Code, Codex CLI, Cursor, and other MCP clients.
3
+ `@cite42/mcp` is a stdio MCP server that exposes Cite42 APIs to your agent.
4
4
 
5
- Cite42 gives your agent market-data tools for:
5
+ Use it to get:
6
6
 
7
- - AI search answers and citations
8
- - brand rankings, comparisons, and sentiment
9
- - SEO keywords, CPC, competition, and trends
10
- - Reddit and YouTube research
11
- - content, competitor, prompt, and citation-gap workflows
7
+ - AI search answers and citations across major LLM sources
8
+ - Brand ranking and sentiment signals from AI answers
9
+ - SEO keyword, CPC, competition, and search trend data
10
+ - Reddit + YouTube trend and opportunity intelligence
11
+ - End-to-end research workflows (content gaps, topic demand, prompt mapping)
12
12
 
13
- This package is a stdio MCP server. It needs a Cite42 API key.
13
+ ## Step-by-step setup
14
14
 
15
- ## Install
15
+ 1. Create a Cite42 API key
16
16
 
17
- 1. Create a Cite42 API key at [cite42.dev/app/keys](https://cite42.dev/app/keys).
17
+ - Go to: https://cite42.dev/app/keys
18
+ - Copy your key (format: `cite42_live_...`)
18
19
 
19
- 2. Make sure you have Node.js 18 or newer.
20
+ 2. Confirm your Node.js version
20
21
 
21
- 3. Add the MCP server to your client.
22
+ - MCP runtime requires Node.js 18 or newer
22
23
 
23
- ### Claude Code
24
+ 3. Add the MCP server to your client
24
25
 
25
- ```bash
26
- claude mcp add cite42 -e CITE42_API_KEY=cite42_live_your_key_here -- npx -y @cite42/mcp
27
- ```
26
+ - Keep the same command for all clients: `npx -y @cite42/mcp`
27
+ - Pass your API key using environment variables (recommended)
28
28
 
29
- ### Codex CLI
29
+ 4. Configure one client
30
30
 
31
- ```bash
32
- codex mcp add cite42 --env CITE42_API_KEY=cite42_live_your_key_here -- npx -y @cite42/mcp
33
- ```
31
+ - Claude Code
34
32
 
35
- ### Cursor
33
+ ```bash
34
+ claude mcp add cite42 -e CITE42_API_KEY=cite42_live_your_key_here -- npx -y @cite42/mcp
35
+ ```
36
36
 
37
- Add this to your MCP config:
37
+ - Codex CLI
38
38
 
39
- ```json
40
- {
41
- "mcpServers": {
42
- "cite42": {
43
- "command": "npx",
44
- "args": ["-y", "@cite42/mcp"],
45
- "env": {
46
- "CITE42_API_KEY": "cite42_live_your_key_here"
47
- }
48
- }
49
- }
50
- }
51
- ```
39
+ ```bash
40
+ codex mcp add cite42 --env CITE42_API_KEY=cite42_live_your_key_here -- npx -y @cite42/mcp
41
+ ```
52
42
 
53
- 4. Restart your MCP client.
43
+ - Cursor (`mcpServers` config)
54
44
 
55
- 5. Ask your agent to use Cite42, for example:
45
+ ```json
46
+ {
47
+ "mcpServers": {
48
+ "cite42": {
49
+ "command": "npx",
50
+ "args": ["-y", "@cite42/mcp"],
51
+ "env": {
52
+ "CITE42_API_KEY": "cite42_live_your_key_here"
53
+ }
54
+ }
55
+ }
56
+ }
57
+ ```
56
58
 
57
- ```text
58
- Use Cite42 to check which AI models cite competitors for "best customer support software".
59
- ```
59
+ 5. Restart your MCP client
60
60
 
61
- ## Endpoints
61
+ 6. Try your first request
62
62
 
63
- These MCP tools call the matching Cite42 API endpoints.
63
+ - Example prompt:
64
+ `Use Cite42 to find AI-cited competitors for "best project management software".`
64
65
 
65
- ### AI Search
66
+ ## Available tools
66
67
 
67
- - `cite42_search`: ask ChatGPT, Claude, Perplexity, Gemini, and Google AI Overview a query.
68
- - `cite42_citations`: see which URLs AI models cite for a query.
69
- - `cite42_rankings`: check where brands or domains appear in AI answers.
70
- - `cite42_compare`: compare your brand against competitors.
71
- - `cite42_sentiment`: measure how AI answers describe a brand.
68
+ - AI search
69
+ - `cite42_search`
70
+ - `cite42_citations`
71
+ - `cite42_rankings`
72
+ - `cite42_compare`
73
+ - `cite42_sentiment`
74
+ - SEO and trend intelligence
75
+ - `cite42_keywords`
76
+ - `cite42_trends`
77
+ - `cite42_reddit_trends`
78
+ - `cite42_youtube_trends`
79
+ - Workflows
80
+ - `cite42_find_content_opportunities`
81
+ - `cite42_analyze_topic_demand`
82
+ - `cite42_map_ai_prompts`
83
+ - `cite42_analyze_competitor_content`
84
+ - `cite42_find_ai_citation_gaps`
85
+ - `cite42_generate_content_brief`
72
86
 
73
- ### SEO And Trends
87
+ ## Optional configuration
74
88
 
75
- - `cite42_keywords`: get search volume, CPC, competition, competition level, and keyword ideas.
76
- - `cite42_trends`: get Google Trends interest and rising queries.
77
- - `cite42_reddit_trends`: find Reddit questions, pain points, threads, and mentioned products.
78
- - `cite42_youtube_trends`: find YouTube videos, title patterns, creator angles, and opportunities.
89
+ - Required:
79
90
 
80
- ### Workflows
91
+ ```bash
92
+ CITE42_API_KEY=cite42_live_your_key_here
93
+ ```
81
94
 
82
- - `cite42_find_content_opportunities`: find content opportunities from AI, SEO, Reddit, YouTube, and trends.
83
- - `cite42_analyze_topic_demand`: analyze demand for a topic.
84
- - `cite42_map_ai_prompts`: map buyer prompts worth tracking.
85
- - `cite42_analyze_competitor_content`: analyze competitor visibility and content coverage.
86
- - `cite42_find_ai_citation_gaps`: find where competitors get cited but your brand does not.
87
- - `cite42_generate_content_brief`: generate brief-ready research data.
95
+ - Optional:
88
96
 
89
- ## Configuration
97
+ ```bash
98
+ CITE42_API_BASE=https://api.cite42.dev/v1
99
+ ```
90
100
 
91
- 1. Required API key:
101
+ - You can also pass flags directly:
92
102
 
93
- ```bash
94
- CITE42_API_KEY=cite42_live_your_key_here
95
- ```
103
+ ```bash
104
+ npx -y @cite42/mcp --api-key=cite42_live_your_key_here --api-base=https://api.cite42.dev/v1
105
+ ```
96
106
 
97
- 2. Optional custom API base:
107
+ ## Billing
98
108
 
99
- ```bash
100
- CITE42_API_BASE=https://api.cite42.dev/v1
101
- ```
109
+ Tool calls consume Cite42 credits. Calls will fail if the API key is missing or credits are insufficient.
102
110
 
103
- You can also pass both as flags:
104
-
105
- ```bash
106
- npx -y @cite42/mcp --api-key=cite42_live_your_key_here --api-base=https://api.cite42.dev/v1
107
- ```
108
-
109
- ## Pricing
110
-
111
- Tool calls use your Cite42 credits. Without an API key and available credits, calls will fail.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cite42/mcp",
3
- "version": "0.1.5",
4
- "description": "Stdio MCP server for Cite42 AI search, citations, SEO keywords, trends, and workflows.",
3
+ "version": "0.1.6",
4
+ "description": "Bring Cite42 market-research and citation tools into any MCP client (Claude, Codex, Cursor, etc.) with a single npm install.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "bin": {