Superlines MCP Server
Enables querying Superlines AI visibility analytics data to track brand performance, citations, and competitor insights across AI-powered search engines like ChatGPT, Perplexity, Gemini, and Claude.
README
Superlines MCP Server
<p align="center"> <img src="https://superlines.io/logos/superlines_logo.svg" alt="Superlines" width="200" /> </p>
<p align="center"> <strong>Model Context Protocol (MCP) server for Superlines AI visibility analytics.</strong> </p>
<p align="center"> Connect Claude Desktop, Cursor, or any MCP-compatible client to your Superlines data. </p>
<p align="center"> <a href="https://www.npmjs.com/package/@superlines/mcp-server"><img src="https://img.shields.io/npm/v/@superlines/mcp-server.svg" alt="npm version"></a> <a href="https://www.npmjs.com/package/@superlines/mcp-server"><img src="https://img.shields.io/npm/dm/@superlines/mcp-server.svg" alt="npm downloads"></a> <a href="https://github.com/Superlines/mcp-server/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/@superlines/mcp-server.svg" alt="license"></a> </p>
<p align="center"> <a href="#quick-start">Quick Start</a> ⢠<a href="#available-tools">Available Tools</a> ⢠<a href="#troubleshooting">Troubleshooting</a> </p>
What is this?
Superlines tracks how your brand appears in AI-powered search engines like ChatGPT, Perplexity, Gemini, and Claude. This MCP server lets you query your Superlines analytics data directly from AI assistants.
Ask questions like:
- "What's my brand visibility this month vs last month?"
- "Which domains are getting cited most in AI responses?"
- "Show me my top competitors by share of voice"
- "Audit my website for LLM-friendliness"
Features
- š Brand Analytics ā Visibility metrics, citations, share of voice
- š Competitor Analysis ā Benchmark against competitors with sentiment analysis
- š Citation Tracking ā See which URLs are cited in AI responses
- š Trend Analysis ā Weekly and monthly performance trends
- š Webpage Auditing ā LLM-friendliness analysis for any URL
- š ļø Schema Optimization ā Generate optimized Schema.org markup
Prerequisites
- Node.js 18+ installed (Download)
- Superlines account with Enterprise plan (MCP access is Enterprise-only)
- API Key from your Superlines dashboard
Quick Start
Step 1: Get Your API Key
- Log in to analytics.superlines.io
- Go to Organization Settings ā API Keys
- Click "Create New API Key"
- Copy the key (starts with
sl_live_) ā it's only shown once!
Step 2: Configure Claude Desktop
Edit your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"superlines": {
"command": "npx",
"args": ["-y", "@superlines/mcp-server"],
"env": {
"SUPERLINES_API_KEY": "sl_live_YOUR_API_KEY"
}
}
}
}
Important: Replace
sl_live_YOUR_API_KEYwith your actual API key.
Step 3: Restart Claude Desktop
- Quit completely: ā+Q on Mac, or right-click taskbar icon ā Exit on Windows
- Reopen Claude Desktop
- Verify: Look for the hammer icon (šØ) indicating MCP tools are available
Step 4: Start Asking Questions!
What brands do I have access to in Superlines?
Show me my brand visibility for the last 30 days
Audit https://example.com for LLM-friendliness
Alternative: Local Proxy Script
If you prefer not to use npx, you can download and run the proxy script locally.
Download the Proxy Script
macOS / Linux:
mkdir -p ~/superlines-mcp
curl -o ~/superlines-mcp/mcp-proxy.js https://raw.githubusercontent.com/Superlines/mcp-server/main/mcp-proxy.js
chmod +x ~/superlines-mcp/mcp-proxy.js
Windows (PowerShell):
mkdir $env:USERPROFILE\superlines-mcp
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Superlines/mcp-server/main/mcp-proxy.js" -OutFile "$env:USERPROFILE\superlines-mcp\mcp-proxy.js"
Configure Claude Desktop (Local Proxy)
macOS:
{
"mcpServers": {
"superlines": {
"command": "node",
"args": ["/Users/YOUR_USERNAME/superlines-mcp/mcp-proxy.js"],
"env": {
"SUPERLINES_API_KEY": "sl_live_YOUR_API_KEY"
}
}
}
}
Windows:
{
"mcpServers": {
"superlines": {
"command": "node",
"args": ["C:\\Users\\YOUR_USERNAME\\superlines-mcp\\mcp-proxy.js"],
"env": {
"SUPERLINES_API_KEY": "sl_live_YOUR_API_KEY"
}
}
}
}
Replace
YOUR_USERNAMEwith your actual username. Find it by runningecho $USER(macOS) orecho %USERNAME%(Windows).
Configuration for Other MCP Clients
Cursor
Add to .cursor/mcp.json in your project or globally:
{
"mcpServers": {
"superlines": {
"command": "npx",
"args": ["-y", "@superlines/mcp-server"],
"env": {
"SUPERLINES_API_KEY": "sl_live_YOUR_API_KEY"
}
}
}
}
VS Code with Continue
Add to your Continue configuration:
{
"mcpServers": [
{
"name": "superlines",
"command": "npx",
"args": ["-y", "@superlines/mcp-server"],
"env": {
"SUPERLINES_API_KEY": "sl_live_YOUR_API_KEY"
}
}
]
}
Global Installation (Alternative)
If you prefer to install globally instead of using npx:
npm install -g @superlines/mcp-server
Then use this configuration:
{
"mcpServers": {
"superlines": {
"command": "superlines-mcp",
"env": {
"SUPERLINES_API_KEY": "sl_live_YOUR_API_KEY"
}
}
}
}
Available Tools
Brand Analytics
| Tool | Description |
|---|---|
list_brands |
List all brands you have access to |
get_brand_details |
Get brand configuration, competitors, and industry |
analyze_metrics |
Brand visibility, citation rate, mentions, share of voice |
get_weekly_performance |
Weekly performance trends |
get_period_comparison |
Compare current vs previous period |
get_analytics_summary |
High-level analytics overview |
Citations
| Tool | Description |
|---|---|
get_citation_data |
Domain and URL citation analysis |
get_top_cited_url_per_prompt |
Top cited URLs per query |
Competitor Analysis
| Tool | Description |
|---|---|
analyze_brand_mentions |
Competitor mentions with sentiment scores |
get_competitive_gap |
Find competitive opportunities |
get_competitor_insights |
Comprehensive competitor overview |
get_best_performing_prompt |
Best performing prompts |
Content Strategy
| Tool | Description |
|---|---|
get_query_data |
Query analysis with search volumes |
find_content_opportunities |
Topics with improvement potential |
get_fanout_query_insights |
LLM source query analysis |
analyze_sentiment |
Sentiment analysis of AI responses |
Webpage Analysis
| Tool | Description |
|---|---|
webpage_crawl |
Fetch and parse webpage content |
webpage_audit |
Full LLM-friendliness audit |
webpage_analyze_technical |
Technical SEO analysis |
webpage_analyze_content |
Content quality analysis |
schema_optimizer |
Optimize Schema.org markup |
analyze_competitor_url |
Deep-dive analysis of competitor URLs |
Environment Variables
| Variable | Required | Description |
|---|---|---|
SUPERLINES_API_KEY |
Yes | Your Superlines API key (starts with sl_live_) |
MCP_SERVER_URL |
No | Override the default server URL |
DEBUG |
No | Set to true for debug logging |
Example Queries
Performance Analysis
Show me brand visibility and citations for the last 30 days, grouped by LLM service
Competitor Intelligence
Who are my top 10 competitors by mentions? Show sentiment breakdown.
Citation Analysis
Which domains are cited most in AI responses about my industry?
Weekly Trends
Show me weekly performance for the last 8 weeks
Webpage Audit
Audit https://competitor.com for LLM-friendliness and show me what schemas they use
Content Opportunities
What content should I create to improve my AI search visibility?
Troubleshooting
"SUPERLINES_API_KEY environment variable not set"
Make sure your config includes the env section with your API key:
{
"mcpServers": {
"superlines": {
"command": "node",
"args": ["/path/to/mcp-proxy.js"],
"env": {
"SUPERLINES_API_KEY": "sl_live_YOUR_API_KEY"
}
}
}
}
"401 Unauthorized"
- Your API key is invalid or expired
- Generate a new key at Organization Settings ā API Keys
"403 Forbidden"
- API access requires an Enterprise plan
- Contact support@superlines.io to upgrade
Claude says "I don't have access to any tools"
- Restart Claude Desktop completely (ā+Q on Mac, not just close window)
- Check the script path ā use the full absolute path, not
~ - Validate your config is valid JSON:
cat ~/Library/Application\ Support/Claude/claude_desktop_config.json | python3 -m json.tool - Test the proxy manually:
You should see a JSON response listing available tools.export SUPERLINES_API_KEY="sl_live_your_key" echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | node ~/superlines-mcp/mcp-proxy.js
Script not found
- Use the full absolute path in your config
- ā
Good:
/Users/john/superlines-mcp/mcp-proxy.js - ā Bad:
~/superlines-mcp/mcp-proxy.js - Windows: Use double backslashes:
C:\\Users\\john\\...
Security
- š Never share your API key publicly
- š Don't commit
claude_desktop_config.jsonto version control - š Rotate keys regularly in Organization Settings
- š Revoke keys immediately if compromised
Secure your config file:
chmod 600 ~/Library/Application\ Support/Claude/claude_desktop_config.json
Beta Notice
ā ļø The Superlines MCP server is currently in beta and may experience instability or contain bugs. Please report issues at github.com/Superlines/mcp-server/issues.
Resources
Support
- Email: support@superlines.io
- Issues: github.com/Superlines/mcp-server/issues
License
MIT Ā© Superlines
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.