Sleepwalker
ai.sleepwalker由 sleepwalker.ai 发布官方发布者v0.1.1更新于 Nov 10, 2026
AI Visibility and Content Intelligence tools for Claude and MCP-compatible agents.
概览
远程 MCP 服务器,提供 AI 可见性与内容智能:跨 AI 搜索引擎运行提示词、查看引用并评估页面内容。
- 可以做什么
- 在 ChatGPT、Perplexity、Grok 和 Gemini 上运行品牌提示词,捕获回答、引用、竞品与提及类型
- 检查并评估页面内容,发现需求并给出可执行的内容建议
- 序列化公开页面,并审查 AI 爬虫实际看到的技术层,如 meta 标签、结构化数据、响应头和 robots 指令
- 将运行结果保存在工作区,代理发起的任务之后可在应用中查看或通过代码查询
- 适用场景
- 当你希望助手检查某个品牌或网址在 AI 搜索回答中的表现、比较竞品提及,或判断哪些内容应优先修改时适用。也适合需要代理驱动的 GEO 监测和内容审查、并与共享工作区联动的团队。
- 运行要求
- 远程 MCP 端点 mcp.sleepwalker.ai,通过 streamable HTTP 访问。需要 OAuth 认证;README 还提到在 Sleepwalker 应用中创建 API 密钥供 CLI 和 API 使用。需要访问托管服务的网络,免费本地导出之外的使用会消耗额度。
安装
在 SourceWeft 中
- 打开 控制台中的 Sleepwalker,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/ai.sleepwalker%2Fsleepwalker/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"sleepwalker": {
"type": "http",
"url": "https://mcp.sleepwalker.ai/mcp"
}
}
}README
[CI] [MIT] [CLI npm version] [Zero dependencies] [MCP ready]
AI Visibility and Content Intelligence for agents, products, and teams.
Run AI-search checks, inspect citations, score content, and save every result in one workspace.
Website · App · Docs · MCP · API · CLI · Cookbook
Sleepwalker helps teams understand how AI systems talk about a brand and what content needs to change. It combines two connected workflows:
- AI Visibility: run prompts across ChatGPT, Perplexity, Grok, and Gemini; capture full answers, citations, competitors, and mention types.
- Content Intelligence: serialize public pages, discover demand, score content depth and freshness, and return practical recommendations.
You can run the same work from the hosted app, the public API, MCP clients, or the CLI. Results stay connected, so a run started by an agent can be reviewed later in the app or queried from code.
This repository is the public developer surface for Sleepwalker: CLI package, API examples, MCP setup notes, and short guides. The hosted engine, app source, database schema, provider integrations, and billing systems are private.
Quickstart
Try the CLI without an account first. okf export is free and open source. It runs on your machine, fetches a page, and writes an agent-ready markdown bundle to a local folder. No API key, no credits:
npx -y @sleepwalkerai/cli okf export https://www.sleepwalker.ai
One command exports both concepts: the page content and the technical
snapshot of what AI crawlers see. Narrow it with --content or
--technical. Both concepts are described in the next section.
For everything else, install the CLI:
npm install -g @sleepwalkerai/cli
sleepwalker init
Create an API key in the Sleepwalker app, then run your first visibility check:
sleepwalker auth key set sw_api_live_...
sleepwalker doctor
sleepwalker visibility run https://yourbrand.com \
--brand YourBrand \
--prompt "best ai visibility platform 2026" \
--platform perplexity,openai,grok,gemini \
--watch
[Sleepwalker CLI running an AI Visibility check]
The free OKF export: content and technical
One command turns any public page into an Open Knowledge Format bundle: a folder of plain markdown files with YAML frontmatter that any AI agent can read directly. OKF is an open format published in Google Cloud's knowledge-catalog repo. The export runs entirely on your machine and is free for everyone: no account, no API key, no credits.
sleepwalker.ai-okf/
├── index.md navigation and okf_version
├── log.md how and when the bundle was generated
├── home.md the content concept
└── home-technical.md the technical snapshot
Both concepts ship by default. --content exports only the content concept,
--technical exports only the snapshot.
The content concept is the page as a reader sees it: clean markdown with headings, paragraphs, lists, and links, plus the title, description, canonical URL, and timestamp in the frontmatter. Use it to hand pages to agents, prompts, and retrieval pipelines without HTML noise.
The technical snapshot is the page as an AI crawler sees it. Most AI crawlers do not run JavaScript, so the snapshot reads only the served HTML plus the response itself: the redirect chain and HTML size, curated HTTP headers, the html lang attribute, meta and title tags, canonical, icon and feed links, headings, hreflang, social tags, head scripts, every JSON-LD block, a microdata and RDFa summary, links, images, and the robots directives the page and response carry (meta robots and X-Robots-Tag). Use it to audit what ChatGPT, Claude, Perplexity, and Gemini can actually read on your pages.
One excerpt shows why this matters. A client-side rendered page often exports like this:
## Structured data
JSON-LD: none found. AI crawlers get no schema.org data from this page as served.
Everything is reported, nothing is judged: the export quotes what the page serves and leaves conclusions to you. Duplicate titles and canonicals are preserved on purpose, because they are findings. The only network request is the page fetch itself. Flags, caps, and the full section list live in docs/cli.md.
Want to see the shape of the data first? Open docs/responses.md for full example outputs from serialization, prompt suggestions, AI Visibility, Content Intelligence, and report lookup.
What you can build
[Sample AI Visibility result across platforms]
- AI search (GEO) monitoring: set up prompt tracking for specific URLs across ChatGPT, Perplexity, Grok, and Gemini.
- Agent workflows: give MCP clients such as Claude access to LLM answers, cited domains, competitor performance, and content trends.
- Product integrations: use the API from internal tools, client portals, reporting pipelines, or automated QA checks.
- Content review: inspect what a page says, which trends it misses, and what to fix first.
- Free page export: turn any public page into agent-ready markdown with
okf export. Open source, runs locally, no account needed. - Free technical snapshot: every
okf exportalso captures the page's technical layer as served, including meta tags, structured data, headers, and robots directives.--technicalexports it alone. - Custom workflows: combine Sleepwalker with other MCP servers to build your own skills and automations.
Access paths
| Surface | Best for | Entry point |
|---|---|---|
| App | Human review, credits, keys, and full result views | app.sleepwalker.ai |
| API | Scripts, products, scheduled jobs, and reporting workflows | API docs |
| MCP | Claude and other MCP-capable agents | MCP setup |
| CLI | Terminal workflows and automation | CLI docs |
[Sleepwalker action flow across app, API, MCP, and CLI]
Run Sleepwalker from anywhere
CLI
sleepwalker visibility run https://yourbrand.com \
--brand YourBrand \
--prompt "best ai visibility platform 2026" \
--platform perplexity,openai,grok,gemini \
--watch
API
curl -s https://api.sleepwalker.ai/v1/visibility/runs \
-H "Authorization: Bearer $SLEEPWALKER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://yourbrand.com",
"target_entity": "YourBrand",
"prompts": ["best ai visibility platform 2026"],
"platforms": ["perplexity","openai","grok","gemini"]
}'
MCP
https://mcp.sleepwalker.ai/mcp
Ask an MCP-capable client: Check how YourBrand appears across AI search this week.
App
Open app.sleepwalker.ai for the visual workflow, saved results, credits, and keys.
Developer resources
| Path | What it shows |
|---|---|
docs/agents.md | MCP tool catalog and agent workflow walkthrough |
docs/concepts.md | Runs, probes, serialization, scoring, credits |
docs/cli.md | CLI usage, including the free local okf export |
docs/cookbook.md | Runnable workflows, including CI checks |
docs/responses.md | Full example outputs for the main Sleepwalker actions |
mcp/server.json | Remote MCP server manifest |
mcp/tools.json | Public MCP tool catalog, scopes, and credit behavior |
examples/api/curl | One-call examples for public API actions |
examples/api/javascript | Raw fetch plus a zero-dependency client helper |
examples/api/python | urllib examples plus a small client class |
examples/mcp | OAuth and bearer-token setup notes |
Credits
Sleepwalker is pay as you go. Reads, lists, and status polling are normally unmetered. Actions that run work, such as visibility checks, content scoring, and serialization, use prepaid credits. okf export is the exception: it runs locally and is always free. Details live in docs/credits.md and the hosted billing docs.
Repository boundary
This repository is intentionally small.
| Public here | Private in Sleepwalker |
|---|---|
| CLI, examples, setup notes, short docs | Hosted engine and app source |
| Public API request shapes | MCP server implementation |
| MCP client connection examples | Database schema and billing internals |
| Product-level credit behavior | Provider integrations and routing |
Do not commit real keys. Use environment variables or the CLI key store:
export SLEEPWALKER_API_KEY=sw_api_live_...
Links
- Website: sleepwalker.ai
- App: app.sleepwalker.ai
- Docs: sleepwalker.ai/docs
- npm: @sleepwalkerai/cli
- Security policy: SECURITY.md
- Contributing: CONTRIBUTING.md
- License: MIT
来源:README.md,提交 ae6b9d0
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分