MCP

Lyra MCP server

Connect Lyra to Claude Desktop, Cursor, Zed, Continue, ChatGPT custom GPTs, or any agent that speaks Model Context Protocol.

你的 AI,连接到你的 Lyra

Lyra 为你自己的 AI 助手提供一条安全、私密的通道,通往你的数据。连接 Claude、ChatGPT 或 Gemini,它就能读取你精炼过的清单、你的定期购买、你的每月必需品和你的规划清单,并读取你正在查看的页面,完全不抓取任何东西。

两个服务器,一条通道

云端 MCP,你的账户数据. 托管于 lyrasearch.com/mcp,由你的付费账户通过一键 OAuth 登录解锁。它只暴露你自己的数据,绝不涉及他人,绝不涉及完整的官方清单。

本地 MCP,你所在的页面. Lyra 应用在你的设备上运行一个极小的服务器(仅限本地回环,默认关闭)。你的 AI 读取已经用你的会话渲染好的页面,无需抓取,无需与反爬机制对抗,没有任何东西离开设备。

网页本身也可以提供自己的工具(WebMCP)。你的 AI 可以替你调用,但任何会执行操作的动作都会先在屏幕上请求你的确认。

你的 AI 能读取什么

  • 你自己的屏蔽清单和 Clean 清单
  • 你会回购什么,以及下次到期是何时
  • 你的每月必需品和支出
  • 你的规划/愿望清单(添加未来的购买)
  • 你正在查看的页面和你打开的标签页
  • 你的收藏夹和浏览历史记录(仅保存在设备上,绝不离开设备)

你始终掌控一切

读取是免费的。导航和添加到你自己的清单每个会话询问一次,之后便顺畅进行。任何代表你进行沟通或作出承诺的操作,购买、发送电子邮件或消息、提交表单、签署文件,始终需要你在屏幕上明确批准,每一次都是。你的保险库和密码绝不会被暴露。

连接你的助手

端上(本地)服务器. 在 Lyra 应用中,打开 Settings → 本地 AI 服务器,将其开启,然后把地址和令牌复制到你的端上 AI 客户端中。

What is MCP?

MCP (Model Context Protocol) is an open spec from Anthropic for AI assistants to call tools on remote servers in a standardized way. Think USB-C for LLMs: any client speaks to any server.

Lyra runs an MCP server at https://lyrasearch.com/mcp. It exposes tools for privacy-respecting lookups (is a specific domain blocked or Clean?), curated alternatives, filtered search, install links, ready-to-share messages and your personal lists. The official block and Clean lists are private, so the MCP never returns them in full, only per-item answers. Public read-only tools work without auth; your own lists and shopping data are unlocked by signing in with OAuth (one-click, no key to copy).

Why this exists

The Lyra browser extension blocks fast-fashion noise inside the user's own browser. The MCP server takes the same curated lists and makes them programmable from the agent layer:

  • "Hey Claude, is shein.com on Lyra's block list?" → instant yes/no with category
  • "Suggest sustainable alternatives for casual sneakers" → up to N curated brands
  • "Search for kitchen knife sets but skip the dropshipping junk" → filtered DDG/Google URL
  • "Add this brand I just discovered to my personal Clean list" → synced across all my devices
  • "How do I install Lyra on Android?" → direct Play Store link

One source of truth, served everywhere.

Tools available

Public — no login (free daily quota)

  • check_domain
  • suggest_alternatives
  • get_stats
  • search_with_lyra
  • get_install_links
  • get_share_message

Your lists — read & write (sign in with OAuth)

  • list_personal
  • get_my_block_list
  • get_my_clean_list
  • submit_block_domain
  • submit_clean_brand
  • add_personal_block / remove_personal_block
  • add_personal_clean / remove_personal_clean

Your shopping data & planning — reads, plus writes that show a real-time notice + Undo in the Lyra app (sign in with OAuth)

  • get_recurring_purchases
  • get_monthly_essentials
  • get_shopping_plan
  • list_future_purchases
  • add_to_plan / remove_from_plan

On-device only (page, tabs, favorites & history). Actions that touch the outside world — buying, sending, submitting — are NOT available here; they always need your express on-screen confirmation in Lyra.

  • get_current_page
  • list_tabs
  • get_favorites
  • get_history
  • list_page_tools
  • call_page_tool

将 Lyra 连接到 Claude 或 ChatGPT

两者都只需点击几下即可连接,通过一键 OAuth 登录完成,无需复制任何密钥。精选搜索工具在你登录前就能使用;登录后可解锁你的个人清单和购物数据。

Lyra MCP 服务器地址: https://lyrasearch.com/mcp

Claude(桌面版或网页版)

  1. 打开 Claude,桌面应用或 claude.ai,然后进入设置。
  2. 打开连接器(在某些套餐中:设置 → 功能预览 → 连接器)。
  3. 点击“添加自定义连接器”。
  4. 粘贴 Lyra MCP 服务器地址:https://lyrasearch.com/mcp
  5. 点击添加。Claude 会打开 Lyra 的登录页,用你的 Lyra 账户批准即可(OAuth,一键完成,无需复制密钥)。
  6. 完成。让 Claude 使用 Lyra,例如“用 Lyra 查一下 shein.com 是否在屏蔽列表中。”

ChatGPT(插件)

  1. 启用开发者模式:设置 → 插件 → 开发者模式 → 打开开发者模式。
  2. 添加插件:设置 → 插件 → 探索插件 → +
  3. 输入 Lyra MCP 服务器地址:https://lyrasearch.com/mcp
  4. 如有提示,使用 OAuth 进行身份验证(一键完成,免费的精选搜索工具无需登录也能使用)。
  5. 等待 ChatGPT 自动检测可用工具。
  6. 点击保存。

完成,Lyra 现在已在你的对话中可用。

快速测试

试试这样的提示:

  • “用 Lyra 从它精选的 Clean 商品中,为真皮手提包找到值得信赖的商店。”
  • “问 Lyra,shein.com 是否在屏蔽列表中,并推荐 Clean 替代店铺。”
  • “用 Lyra 搜索跑步鞋,同时避开 fast-fashion 和 dropshipping。”

如果回答中提到使用了 Lyra,说明集成正常工作。

故障排除

  • 找不到“插件”或“探索插件”:确认已开启开发者模式(设置 → 插件 → 开发者模式),且你的套餐包含该功能。
  • 连接错误:确认 https://lyrasearch.com/mcp 可访问,并通过有效的 HTTPS 提供服务。
  • 要求进行身份验证:用你的 Lyra 账户(OAuth)登录,无需复制任何密钥。免费的精选搜索工具无需登录也能使用。

Setup · Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "lyra": {
      "url": "https://lyrasearch.com/mcp",
      "headers": {
        "Authorization": "Bearer lyra_YOUR_LICENSE_KEY_HERE"
      }
    }
  }
}

Public read-only tools work with no header. For your own lists and shopping data, connect with OAuth (one-click sign-in to your Lyra account — no key to copy): the client opens Lyra, you approve, done. A manual Bearer key from /billing is only for scripts/CLIs that can't open a browser.

Setup · Cursor / Zed / Continue

These editors support MCP via streamable HTTP. Add this to your editor's MCP config:

{
  "lyra": {
    "transport": "http",
    "url": "https://lyrasearch.com/mcp"
  }
}

Setup · ChatGPT (MCP connector or Custom GPT)

ChatGPT now speaks MCP: in Developer Mode / Connectors, add the server URL https://lyrasearch.com/mcp and authorize with OAuth (one-click, no key). If your plan doesn't show MCP connectors, wrap our OpenAPI 3 spec as a custom GPT Action instead.

Quick test (curl)

List all tools without auth:

curl -X POST https://lyrasearch.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Check a domain:

curl -X POST https://lyrasearch.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{
    "name":"check_domain",
    "arguments":{"domain":"shein.com","locale":"pt-BR"}
  }}'

Submit a domain to block (with license key):

curl -X POST https://lyrasearch.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer lyra_YOUR_KEY" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{
    "name":"submit_block_domain",
    "arguments":{"domain":"newpredator.com","reason":"dropshipping low-quality"}
  }}'

Localization

Every tool accepts a locale argument. Supported values: en, pt-BR, es, zh-CN, zh-TW, hi, ar, fr, bn, ru, id, ur, de, ja, vi, tr, ko, it, pl, nl, he.

When omitted, the server defaults to en. Category labels in the response are translated; brand names and domain identifiers stay canonical.

Ecosystem

Lyra has four ways to use it — all on the same curated lists:

  • Extension (Chrome, Edge, Brave): filters in real time inside the browser
  • DNS (Lyra Safe DNS): cleans every app on the device
  • App (Android, iPhone, Mac, PC): the native Lyra browser
  • Site (lyrasearch.com): Lyra Search on the web, with login