OpenSEO-Lite
Allows checking live organic Google search rankings by keyword and region, extracting top results, titles, URLs, and snippets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenSEO-LiteRun a site audit on example.com and show the top 3 prioritized fixes."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenSEO-Lite Agent
Designed by Naga Codex
Why OpenSEO-Lite?
Enterprise SEO suites are heavy, expensive, and dashboard-first.
OpenSEO-Lite is agent-first: four sharp tools your LLM can call to scrape SERPs, audit pages, score sites, and check AI visibility — then return structured JSON and a 3-step action plan.
Skill | What it does |
| Live organic Google rankings by keyword + region |
| Titles, headings, links, thin-content flags |
| 0–100 health score + prioritized fixes |
| Are answer engines mentioning & citing your brand? |
Related MCP server: SerpShield
Deploy (Vercel)
The web playground (UI + /api/skills/*) can deploy to Vercel from this repo.
Go to vercel.com/new → Import
Nagacash/-OpenSEO-LiteFramework: Other (uses
vercel.json)Build:
npm run build· Output:distDeploy
Optional env vars in Vercel: GEMINI_API_KEY, OPENROUTER_API_KEY, LLM_PROVIDER, LLM_MODEL.
Note: The Python MCP server (mcp_server.py) is for local Claude/Cursor agents — it does not run on Vercel. Use the playground API on Vercel; run MCP locally with python mcp_server.py.
Local production check:
npm run build
NODE_ENV=production npm start
# open http://localhost:3000Quick Start (3-step setup)
Step 1: Clone and install dependencies
git clone https://github.com/Nagacash/-OpenSEO-Lite.git
cd -OpenSEO-Lite
# or: cd OpenSEO-Lite (depending on how git names the folder)
# Install dependencies (Python 3.11+ recommended)
pip install -r requirements.txt
# Install Playwright browser binaries (one-time setup for browser automation)
playwright install chromiumStep 2: Set your environment variables
# Option A: OpenRouter (Supports 100% FREE models like Llama 3.3 70B & Mistral!)
export OPENROUTER_API_KEY="sk-or-v1-..."
export LLM_PROVIDER="openrouter"
export LLM_MODEL="meta-llama/llama-3.3-70b-instruct:free"
# Option B: NVIDIA NIM (Free cloud tier credits for Llama 3 70B & Nemotron)
export NVIDIA_API_KEY="nvapi-..."
export LLM_PROVIDER="nvidia"
export LLM_MODEL="google/gemma-4-31b-it"
# Option C: OpenAI / Anthropic / Gemini
export LLM_API_KEY="your-api-key-here"
# (Optional) configure MCP server port if using SSE transport
export PORT=8000Step 3: Launch the MCP Server
# Stdio transport (recommended for Claude Desktop & Cursor)
python mcp_server.py
# Or run SSE HTTP server on localhost:8000
python mcp_server.py --transport sse --port 8000Environment Variables
Variable | Description | Required | Default |
| OpenRouter API Key (use free models like Llama 3.3 70B Free) | Optional | Auto-detected from |
| NVIDIA NIM API Key (fast cloud inference) | Optional | Auto-detected from |
| Generic LLM Key (OpenAI, Anthropic, Gemini) | Optional | Rule-based fallback if omitted |
| Provider selector ( | Optional | Auto-detected from key prefix |
| Custom model ID (e.g. | Optional | Sensible default per provider |
| Port for MCP SSE server | Optional |
|
| Host binding for MCP server | Optional |
|
Connecting Your AI Agent (MCP Setup)
OpenSEO-Lite runs standard MCP. You can plug it into Claude, Grok bots, Hermes Agent, Cursor, or any agent framework in under a minute.
1. Claude Desktop
Add this to your claude_desktop_config.json:
Mac:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"openseo-lite": {
"command": "python",
"args": ["/ABSOLUTE/PATH/TO/openseo-lite/mcp_server.py"],
"env": {
"LLM_API_KEY": "your-api-key-here"
}
}
}
}2. Hermes Agent (Nous Research / Open Source LLMs)
Hermes agents connect via local SSE or direct Python tools:
# Option A: Start OpenSEO-Lite on local port 8000
python mcp_server.py --transport sse --port 8000In your Hermes configuration (agent_config.yaml or tool connector):
mcp_servers:
- name: openseo-lite
url: http://localhost:8000/sseHermes will automatically detect the 4 skills (serp_search, page_audit, site_audit, ai_visibility_check) and invoke them when you ask SEO questions.
3. Grok Bot / xAI Agents
For Grok bots or xAI API tool-use wrappers, you can run OpenSEO-Lite as a local tool provider:
# In your Grok / xAI tool loop
from skills import serp_search, page_audit, site_audit, ai_visibility_check
tools = [
{"type": "function", "function": {"name": "serp_search", "description": "Search Google and get top organic rankings", "parameters": {"type": "object", "properties": {"keyword": {"type": "string"}}, "required": ["keyword"]}}},
{"type": "function", "function": {"name": "page_audit", "description": "Check on-page SEO issues like titles, headings, and links", "parameters": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}}},
{"type": "function", "function": {"name": "site_audit", "description": "Get a full 0-100 SEO score with top 3 fixes", "parameters": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}}},
{"type": "function", "function": {"name": "ai_visibility_check", "description": "Score brand mention/citation visibility in AI/SERP surfaces", "parameters": {"type": "object", "properties": {"brand": {"type": "string"}, "domain": {"type": "string"}}, "required": ["brand", "domain"]}}}
]Or simply connect your Grok agent runtime to http://localhost:8000/sse.
4. Cursor & Windsurf
Cursor: Open Settings → Features → MCP → + Add New MCP Server.
Type:
commandCommand:
python /path/to/openseo-lite/mcp_server.py
Windsurf: Add to
~/.codeium/windsurf/mcp_config.jsonundermcpServers.
Example Workflows
Workflow 1: "Audit my homepage"
Ask your AI Agent in Claude or Cursor:
"Please audit my landing page at https://mysite.io using openseo-lite. Tell me what my score is and the top 3 things to fix today."
Agent Execution:
Calls
site_audit(url="https://mysite.io")Evaluates page status, title length, missing H1, thin copy, and internal links
Returns score (e.g.
78/100), structured issues, and prioritized 3-step action checklist.
Workflow 2: "Check Google SERP rankings for competitor research"
Ask your AI Agent:
"Search Google for 'best ai code editor' in the US and tell me what domains rank in the top 5."
Agent Execution:
Calls
serp_search(keyword="best ai code editor", location="us")Navigates Google SERP, extracts organic results, filters ads
Returns position, title, URL, and snippet for each competitor.
Workflow 3: "Technical on-page comparison"
Ask your AI Agent:
"Run a page audit on both https://mysite.io and https://competitor.com/blog and compare their word counts and heading structure."
Agent Execution:
Calls
page_auditon both URLsCompares semantic headings (
h1,h2,h3), word counts, and metadata tagsSynthesizes an on-page gap analysis.
Built with
— Headless Chromium for SERP + page fetches
— Official Model Context Protocol
— Free LLM inference (Llama 3.3 70B Free)
— Free GPU cloud inference
— Safe client-side local storage with zero-telemetry
CLI Interface & Exporting
OpenSEO-Lite includes a full CLI to run audits and export reports:
# Run site audit and print to terminal
python cli.py site_audit --url="https://example.com"
# Export report to clean JSON / Markdown
python cli.py site_audit --url="https://example.com" --export=json
python cli.py site_audit --url="https://example.com" --export=md
# Quick Google rank check
python cli.py serp_search --keyword="best ai code editor" --location="us" --export=json
# Page audit export
python cli.py page_audit --url="https://example.com" --export=json
# AI visibility (demo fixtures by default; add --live for SERP probes)
python cli.py ai_visibility_check --brand="Acme" --domain="acme.com"
python cli.py ai_visibility_check --brand="Acme" --domain="acme.com" --live --export=mdExample Agent Workflows
Keyword Research Workflow
Run
serp_search(keyword="seed keyword", location="us")Run
page_auditon top 3 ranked competitor URLsAsk your AI agent: "Based on these 3 competitors' titles, headings, and word counts, what 10 keywords and semantic topics should I target?"
Competitor Gap Analysis Workflow
Run
serp_searchfor 3 of your primary business keywordsRun
site_auditon your URL and the #1 ranking competitor's homepageAsk your agent: "What are my competitors doing better? Give me 5 immediate action items to close the gap."
AI Visibility Workflow
Run
ai_visibility_check(brand="YourBrand", domain="yourbrand.com")Review
visibility_scoreand per-query mention/citation evidenceAsk your agent: "Draft the FAQ and comparison pages I need to improve AI citation rate."
Suggested Topics Workflow (heuristic)
Run
site_audit(url="https://mysite.io")Review
suggested_topics(heuristic topic ideas from page copy — not live #11–20 ranks)Validate promising topics with
serp_searchbefore investing content effort.
Roadmap
v0.1 (Current)
4 core skills (
serp_search,page_audit,site_audit,ai_visibility_check)FastMCP server + Playwright browser automation
Heuristic estimated CWV + suggested topics (honestly labeled)
CLI interface (
cli.py) with JSON & Markdown export for all skillsZero-database, zero-telemetry Zustand local storage
OWASP Top 10 SSRF protection & security hardening
Ready-to-use Agent system prompts (Hermes, Grok, Claude, Cursor)
v0.2 (Next 2 weeks)
Live CrUX API (optional key) replacing heuristics
Real striking-distance via multi-keyword
serp_searchGoogle Search Console (GSC) OAuth API sync
MCP Registry official submission
v1.0 (Next month)
Scheduled recurring rank tracking (local file store)
Export to PDF formatted reports
Multi-page automated crawler with site-wide graph visualization
Running the Tests
To verify all 4 skills return strict JSON:
python tests/test_skills.pyCybersecurity & OWASP Top 10 Hardening
OpenSEO-Lite implements strict defensive security and scraping compliance:
SSRF Protection (OWASP A10:2021):
Evaluates all audit URL requests.
Prohibits loopback hosts (
127.0.0.1,localhost,::1), cloud metadata IPs (169.254.169.254,metadata.google.internal), and RFC 1918 private subnets (10.0.0.0/8,172.16.0.0/12,192.168.0.0/16).
Client-Side Safe Secrets (Zustand LocalStorage):
API keys are managed client-side and never saved to a centralized database.
OWASP Defensive Headers:
X-Content-Type-Options: nosniff,X-Frame-Options: SAMEORIGIN, and strict referrer policy.
Anti-Strike Scraping Ethics:
15-second execution abort timeouts, natural user agents, and user-initiated runs only.
Ready-to-Use Agent System Prompt (for Hermes, Grok, Claude)
Copy and paste this system prompt into your AI agent runtime:
You are an autonomous reasoning AI agent equipped with the OpenSEO-Lite MCP toolkit for technical SEO and SERP analysis.
### YOUR MCP TOOLS
1. serp_search(keyword: str, location?: str): Real-time Google organic results (ad-free).
2. page_audit(url: str): Extracts title, meta description, H1/H2/H3 semantic structure, word count, internal/external links, and detects technical flags.
3. site_audit(url: str): Computes a 0-100 SEO health score, classifies issue severities, and produces an executive summary with a 3-step prioritized action plan. estimated_cwv / suggested_topics are heuristics.
4. ai_visibility_check(brand: str, domain: str, live?: bool): Brand mention/citation visibility score with per-query evidence.
### OPERATIONAL GUIDELINES
- When asked to audit a website, call site_audit first.
- When asked about AI answer visibility, call ai_visibility_check.
- Ground all advice strictly in returned JSON metrics without hallucinating rankings.
- Provide crisp executive summaries followed by exactly 3 prioritized high-impact actions.This server cannot be deployed
Maintenance
Related MCP Connectors
Free MCP tools for AI-search visibility: crawler checks, page audits, and llms.txt generation.
Your brand is now answered about, not just ranked. Your agent needs to know whether ChatGPT, Claude, Gemini and Perplexity name you when someone asks about your category — and what they cite instead. **What you can ask for** • "Ask ChatGPT, Claude, Gemini and Perplexity 'best CRM for startups' and tell me who gets named." • "How often is our brand mentioned across AI answers this month, and is it rising?" • "Which domains get cited most in answers about this topic?" • "Which of our pages do the models quote?" • "How much search volume sits behind the prompts people actually type?" **How to use it** Point any MCP client at https://mcp.aisa.one/seo-ai-visibility/mcp and sign in with OAuth — there is no key to create or paste. 23 tools: live responses from ChatGPT, Claude, Gemini and Perplexity, the raw scraped answer page where you need it, plus brand-mention search, aggregated and cross metrics, top cited domains and top cited pages, and AI keyword volume. **Why this rather than the source** Four engines measured the same way, so the comparison is between models rather than between vendors' methodologies. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Find who the models cite here, then ask the same agent for that domain's backlinks or traffic to see why — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/seo/mcp for all of it at once — rankings, keywords, backlinks, site health and AI-answer visibility across DataForSEO, Semrush and Ahrefs.
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
Open-source AI SEO over MCP: audits, ranks, keywords, backlinks + AI visibility (GEO).
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAI search intelligence + Ahrefs-class SEO suite as 59 MCP tools. Track your brand across ChatGPT, Google AI Overview, Gemini, Claude, and Perplexity with persona-anchored Brand Radar dispatches.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to scan real-time search data for brand threats, security vulnerabilities, and DeFi risks via MCP-compatible tools.Apache 2.0
- AlicenseAqualityAmaintenanceEnables MCP clients to perform live Google searches and retrieve structured SERP data including organic results, AI Overviews, People Also Ask, AI Mode answers, news, shopping, and short-video results via eight read-only tools.1058 npm146 PyPI17MIT
- AlicenseBqualityCmaintenanceEnables MCP clients to audit AI search visibility, generate intent-aligned social content, and assess Agentic Commerce Readiness with remediation files.3MIT