
LLM Optimizer
io.metavert由 metavert.io 发布官方发布者v1.0.0更新于 Oct 28, 2026
AI brand visibility analytics: visibility scores, optimizations, video, Reddit, and search rankings.
概览
LLM Optimizer 的远程 MCP 服务器,让助手读取品牌的 AI 可见度评分、分析报告和优化待办事项。
- 可以做什么
- 列出账户中已跟踪的域名
- 按类型获取域名的分析报告:analysis、optimizations、video、reddit、search、summary、tests 或 brand
- 读取由五个维度加权计算的综合 AI 可见度评分(0-100)
- 按状态或域名列出优化行动项
- 更新待办事项状态(todo、completed、backlogged、archived),仅限管理员或所有者账户
- 适用场景
- 适合已在 LLM Optimizer 中跟踪品牌、希望让助手汇总可见度评分、与竞品对比、梳理优化待办清单或生成定期品牌简报而无需打开网页应用的用户。
- 运行要求
- 远程端点 llmopt.metavert.io/mcp,使用 Streamable HTTP,需 OAuth 2.1(PKCE、动态客户端注册)或在 OAuth 提示中输入个人 lok_ 访问密钥。需要已有 LLM Optimizer 账户及已跟踪的域名;Claude Desktop 通常借助 mcp-remote 辅助工具连接。
安装
在 SourceWeft 中
- 打开 控制台中的 LLM Optimizer,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.metavert%2Fllmopt/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"llm-optimizer": {
"type": "http",
"url": "https://llmopt.metavert.io/mcp"
}
}
}README
LLM Optimizer
[Go] [codecov] [Go Report Card] [License: MIT]
LLM Optimizer is an AI visibility intelligence platform. It analyzes how large language models and AI search engines perceive, cite, and recommend brands — then provides research-backed optimization strategies to improve that visibility.
ChatGPT, Claude, Gemini, Perplexity, and Google AI Overviews are replacing traditional search for millions of people. The signals that determine whether an AI recommends your brand are fundamentally different from traditional SEO: earned media coverage, transcript quality, content structure, training data frequency, and citation network dynamics matter more than backlinks and keyword density. LLM Optimizer measures these signals across five analysis dimensions and produces a composite AI Visibility Score (0-100) with prioritized, actionable recommendations.
What It Analyzes
LLM Optimizer performs six types of analysis, each grounded in peer-reviewed research:
Answer Engine Optimization — Analyzes your website's content against the optimization strategies validated by the GEO (Generative Engine Optimization) research. Scores pages on quotation density (+41% visibility), statistical evidence (+33%), source citations (+28%), fluency, structural optimization, and machine readability. Produces per-question optimization scores with specific rewrite recommendations.
Video Authority Analysis — Two-phase analysis of YouTube presence. Phase 1 uses a fast model to assess individual videos for transcript quality, keyword alignment, and caption availability. Phase 2 feeds compact assessments into a reasoning model for four-pillar scoring: Transcript Authority, Topical Dominance, Citation Network, and Brand Narrative. Based on research showing YouTube is now the #1 social citation source for LLMs, appearing in 16% of AI answers.
Reddit Authority Analysis — Scrapes Reddit discussions mentioning your brand and analyzes community sentiment, competitive positioning, and training data signal strength. Uses Reddit's public .json endpoints with Cloudflare WARP proxy fallback. Scores four pillars: Presence, Sentiment, Competitive Position, and Training Signal.
Search Visibility Analysis — Evaluates your site's visibility across both Google AI Overviews and standalone LLMs. Checks robots.txt AI crawler policies, structured data, content freshness, brand search momentum, and earned media signals. Based on research showing only 12% overlap between Google top-10 results and ChatGPT/Perplexity citations.
LLM Knowledge Testing — Directly queries multiple LLM providers (Anthropic, OpenAI, Gemini, Grok) with your brand's target queries and analyzes how each model responds. Compares your brand's presence, accuracy, and recommendation likelihood across providers. Supports head-to-head competitor comparison.
Brand Intelligence — Aggregates all analysis dimensions into a composite AI Visibility Score weighted across Optimization (30%), Video Authority (20%), Reddit Authority (20%), Search Visibility (15%), and LLM Test (15%). Generates prioritized action items that track through to completion.
Research Foundation
The analysis methodology is grounded in published research. Key findings that inform the scoring:
- Content optimization: Embedding authoritative quotations improves AI citation visibility by +41%; adding statistics by +33%; keyword stuffing reduces visibility by -9% (GEO, Princeton/KDD 2024).
- Training data frequency: Answer accuracy more than doubles from rare (1-5 documents) to high-frequency (51+ documents) in training data. Being in training data AND being retrievable provides a compounding advantage (NanoKnow, 2026).
- Source preferences: AI search engines cite earned media 72-92% of the time vs. 18-27% for brand-owned content. Only 15-50% overlap with traditional Google results (GEO, Toronto 2025).
- Video transcripts: A 7B-parameter model trained on YouTube transcripts surpassed 72B models in commentary quality. Transcript quality is the dominant signal for video LLM influence — not production value or view counts (LiveCC, CVPR 2025).
- Citation concentration: Top 20 news sources capture 28-67% of all AI citations depending on provider. Different AI providers cite substantially different sources (cross-family similarity: 0.11-0.58) (AI Search Arena, 2025).
- Content freshness: AI assistants cite content 25.7% newer than traditional search. Freshness signals can shift ranking by up to 95 positions (Ahrefs, 2025).
For the complete research synthesis with methodology details, scoring frameworks, and prompt architecture, see research.md.
Architecture
Backend — Go 1.24, standard library net/http with gorilla/mux-style routing. No web framework. LLM provider abstraction supports Anthropic, OpenAI, Gemini, and Grok with streaming SSE responses. Each provider implements a common interface for Call, Stream, VerifyKey, and BuildStreamBody.
Frontend — React 19 + TypeScript + Vite + Tailwind CSS. Single-page application with SSE streaming for real-time analysis progress. The SaaS deployment uses a frontend overlay system that extends the base LastSaaS frontend with product-specific pages.
Multi-tenant SaaS — Built on LastSaaS, an open-source SaaS framework that provides authentication, billing (Stripe), tenant isolation, and user management. LLM Optimizer runs as a dependent application — LastSaaS handles the auth/billing plane while LLM Optimizer handles the product plane.
MCP Server — Model Context Protocol server using Streamable HTTP transport with OAuth 2.1 (PKCE + Dynamic Client Registration). Lets AI assistants like Claude access analysis data, visibility scores, and action items programmatically.
Cloudflare WARP — Integrated as a SOCKS5 proxy for Reddit scraping fallback (handles 429/403 rate limits).
Prerequisites
- Go 1.24+
- Node.js 20+ and npm
- MongoDB (Atlas recommended, local works for development)
- Anthropic API key (required — used for site analysis, optimization scoring, and brand intelligence)
- LastSaaS (required for SaaS mode with auth/billing; optional for standalone mode)
Optional API keys for additional providers and features:
- OpenAI API key — LLM knowledge testing with GPT models
- Google Gemini API key — LLM knowledge testing with Gemini models
- xAI Grok API key — LLM knowledge testing with Grok models
- YouTube Data API key — Video authority analysis
Setup
Standalone Mode (single user, no auth)
-
Clone the repository:
-
Copy the example environment file and fill in your values:
Required variables:
-
Build and run the backend:
-
Build and run the frontend (in a separate terminal):
-
Open
http://localhost:5173in your browser.
SaaS Mode (multi-tenant with auth and billing)
SaaS mode requires LastSaaS as a dependency. LastSaaS provides authentication (OAuth/SSO), Stripe billing, tenant management, and the admin interface.
-
Clone with the LastSaaS dependency:
-
Configure environment variables:
Additional variables required for SaaS mode:
See the LastSaaS README for the full set of auth/billing environment variables (Google OAuth, Stripe keys, etc.).
-
For local development, use the start script:
-
For production deployment on Fly.io:
See deploy.md for the full deployment guide.
Build Verification
Environment Variables
Project Structure
MCP Server
LLM Optimizer includes a Model Context Protocol (MCP) server that lets AI assistants like Claude access your brand intelligence and optimization data programmatically. The server uses Streamable HTTP transport with OAuth 2.1 authentication.
Server URL: https://llmopt.metavert.io/mcp
Listed on Smithery and awesome-mcp-servers (Glama). Official MCP Registry submission in progress.
Privacy
The LLM Optimizer MCP server accesses only data already stored in your LLM Optimizer account (domains, reports, visibility scores, and action items). No data is shared with third parties. Read-only tools (llmopt_list_domains, llmopt_get_report, llmopt_get_visibility_score, llmopt_list_todos) do not modify any data. The llmopt_update_todo tool mutates only todo status fields. API keys and OAuth tokens are transmitted over HTTPS and stored hashed (SHA-256). For full details see the Privacy Policy.
Authentication
Option 1 — Access Key (recommended): Create a personal lok_ access key at Settings → Access Keys in the app. Enter it in the OAuth prompt when connecting. Each key grants full access to your account's MCP tools.
Option 2 — OAuth 2.1: Full browser-based OAuth flow with PKCE. Claude Desktop handles this automatically when you add the server URL.
Available Tools
Working Examples
1. Get a quick brand health summary
"What's the AI visibility score for acme.com and what are the top recommendations?"
Claude will call llmopt_get_visibility_score then llmopt_get_report (report_type: summary) to give you a snapshot of how well the brand appears in LLM outputs and what to fix first.
2. Triage your optimization backlog
"Show me all my open todo items across all domains, prioritized by domain."
Claude calls llmopt_list_todos with status: todo, groups results by domain, and presents them as a prioritized task list — ready to assign or schedule.
3. Competitive visibility comparison
"Compare the analysis reports for acme.com and competitorx.com and tell me where we're losing."
Claude fetches llmopt_get_report (report_type: analysis) for both domains, then synthesizes the differences — identifying topics where the competitor is mentioned and you're not.
4. Morning brand briefing
"Give me a daily briefing: any visibility score changes, new todos, and Reddit sentiment for mycompany.com."
Claude chains llmopt_get_visibility_score, llmopt_list_todos (status: todo), and llmopt_get_report (report_type: reddit) to create a concise morning summary you can drop into Slack.
5. Close out completed work
"I've finished all the meta-description updates. Mark all the meta-description todos for acme.com as completed."
Claude calls llmopt_list_todos filtered by domain to find relevant items, then calls llmopt_update_todo for each, confirming which were updated.
MCP Configuration
Claude Code (HTTP native)
Add to ~/.claude.json under mcpServers:
On first use, Claude Code will open a browser to authorize. Enter your lok_ access key (create one at Settings → Access Keys).
Claude Desktop
Option A — OAuth (easiest, no key to manage):
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
On first launch, a browser window will open to authorize. Sign in at llmopt.metavert.io and enter your lok_ access key.
Option B — Direct key (no browser auth, simpler for power users):
Replace lok_your_access_key_here with a key from Settings → Access Keys.
Direct HTTP
OAuth Endpoints
REST API
A REST API is also available at /api/v1/. See the API Docs page for a formatted guide.
License
MIT - Copyright (c) 2026 Metavert LLC
来源:README.md,提交 7e1feed
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分