PluginBench
MCP Server
Active
MIT

Sleepwalker MCP Server

ai.sleepwalker/sleepwalker

AI visibility and content intelligence for monitoring how AI systems discuss your brand across search platforms.

What is the Sleepwalker MCP server?

Sleepwalker is an AI Visibility and Content Intelligence platform that helps teams monitor how AI systems (ChatGPT, Perplexity, Grok, Gemini) discuss their brand and content. It captures AI search answers, citations, competitors, and content metrics, with results accessible via app, API, CLI, and MCP for agents like Claude.

Sleepwalker combines two workflows: AI Visibility (run prompts across multiple AI search platforms and capture full answers and citations) and Content Intelligence (serialize public pages, score content depth and freshness, and get recommendations). Use it to monitor brand mentions in AI search, audit what AI crawlers see on your pages, and integrate AI monitoring into agent workflows and products.

How to install Sleepwalker

Copy-paste configuration for popular MCP clients.

transport: http
Config generated by PluginBench — verify against the source before use.
~/.cursor/mcp.json
{
  "mcpServers": {
    "sleepwalker": {
      "url": "https://mcp.sleepwalker.ai/mcp"
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • visibility run — Run prompts across ChatGPT, Perplexity, Grok, and Gemini; capture full answers, citations, competitors, and mention types.
  • okf export — Free, local export of any public page into Open Knowledge Format markdown bundle with content and technical snapshots; no account or API key required.
  • content scoring — Serialize public pages, discover demand, score content depth and freshness, and return practical recommendations.
  • result lookup — Query and retrieve saved visibility runs and content intelligence results from the workspace.

Use cases

  • Monitor how your brand appears across AI search engines weekly or on-demand
  • Audit what AI crawlers see on your website pages, including meta tags, structured data, and robots directives
  • Export any public webpage to agent-ready markdown for use in retrieval pipelines and AI workflows
  • Identify competitor mentions and content gaps in AI search results for your industry
  • Integrate AI visibility checks into CI/CD pipelines and automated QA workflows

Sleepwalker MCP server FAQ

What is Sleepwalker?

Sleepwalker is an AI Visibility and Content Intelligence platform that monitors how AI systems (ChatGPT, Perplexity, Grok, Gemini) discuss your brand and content. It captures AI search answers, citations, and content metrics accessible via app, API, CLI, and MCP.

Is Sleepwalker free?

The `okf export` command is free and open source—it runs locally on your machine with no account needed. Other features (visibility checks, content scoring) use a pay-as-you-go credit system.

How do I use Sleepwalker with Claude?

Connect the remote MCP server at https://mcp.sleepwalker.ai/mcp to your MCP-capable client (Claude, Cursor). You'll need a Sleepwalker API key from app.sleepwalker.ai to authenticate.

Do I need an API key?

No API key is required for `okf export`, which runs locally. For visibility checks, content scoring, and MCP access, you need to create an API key in the Sleepwalker app.

What platforms does Sleepwalker monitor?

Sleepwalker runs visibility checks across ChatGPT, Perplexity, Grok, and Gemini, capturing how each platform answers your prompts and cites sources.

Can I use Sleepwalker in my product or workflow?

Yes. Use the public API for scripts and products, the CLI for terminal automation, or the MCP server to give agents like Claude direct access to visibility and content data.

README (reference)

Source of truth, from the repository.

<p align="center"> <img src="assets/banner.svg" alt="Sleepwalker" width="100%"> </p> <p align="center"> <a href="https://github.com/followanton/sleepwalker/actions/workflows/ci.yml"><img src="https://github.com/followanton/sleepwalker/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <img src="https://img.shields.io/badge/license-MIT-22c55e?style=flat-square" alt="MIT"> <img src="https://img.shields.io/npm/v/@sleepwalkerai/cli?color=a78bfa&label=cli&style=flat-square" alt="CLI npm version"> <img src="https://img.shields.io/badge/dependencies-zero-22c55e?style=flat-square" alt="Zero dependencies"> <img src="https://img.shields.io/badge/MCP-ready-a78bfa?style=flat-square" alt="MCP ready"> </p> <p align="center"> <b>AI Visibility and Content Intelligence for agents, products, and teams.</b><br> Run AI-search checks, inspect citations, score content, and save every result in one workspace. </p> <p align="center"> <a href="https://www.sleepwalker.ai/">Website</a> · <a href="https://app.sleepwalker.ai">App</a> · <a href="https://www.sleepwalker.ai/docs/">Docs</a> · <a href="https://www.sleepwalker.ai/docs/mcp/">MCP</a> · <a href="https://www.sleepwalker.ai/docs/api/">API</a> · <a href="https://www.sleepwalker.ai/docs/cli/">CLI</a> · <a href="docs/cookbook.md">Cookbook</a> </p>

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
<p align="center"> <img src="assets/terminal.svg" alt="Sleepwalker CLI running an AI Visibility check" width="92%"> </p>

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

<p align="center"> <img src="assets/visibility.svg" alt="Sample AI Visibility result across platforms" width="92%"> </p>
  • 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 export also captures the page's technical layer as served, including meta tags, structured data, headers, and robots directives. --technical exports it alone.
  • Custom workflows: combine Sleepwalker with other MCP servers to build your own skills and automations.

Access paths

SurfaceBest forEntry point
AppHuman review, credits, keys, and full result viewsapp.sleepwalker.ai
APIScripts, products, scheduled jobs, and reporting workflowsAPI docs
MCPClaude and other MCP-capable agentsMCP setup
CLITerminal workflows and automationCLI docs
<p align="center"> <img src="assets/architecture.svg" alt="Sleepwalker action flow across app, API, MCP, and CLI" width="68%"> </p>

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

PathWhat it shows
docs/agents.mdMCP tool catalog and agent workflow walkthrough
docs/concepts.mdRuns, probes, serialization, scoring, credits
docs/cli.mdCLI usage, including the free local okf export
docs/cookbook.mdRunnable workflows, including CI checks
docs/responses.mdFull example outputs for the main Sleepwalker actions
mcp/server.jsonRemote MCP server manifest
mcp/tools.jsonPublic MCP tool catalog, scopes, and credit behavior
examples/api/curlOne-call examples for public API actions
examples/api/javascriptRaw fetch plus a zero-dependency client helper
examples/api/pythonurllib examples plus a small client class
examples/mcpOAuth 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 herePrivate in Sleepwalker
CLI, examples, setup notes, short docsHosted engine and app source
Public API request shapesMCP server implementation
MCP client connection examplesDatabase schema and billing internals
Product-level credit behaviorProvider integrations and routing

Do not commit real keys. Use environment variables or the CLI key store:

export SLEEPWALKER_API_KEY=sw_api_live_...

Links

Related MCP servers

SLSlideless logo

Slideless

Maintained

List, share, upload, and manage Slideless HTML presentations from any MCP host.

0
TypeScript
View repository →

Typed feature management for compose projects: roadmap, changelog, artifacts, journal.

Graph + vector memory for agents: recall, ingest, search, distill. Local or remote backend.

STStratum MCP logo

Structured execution for coding agents: contracts, postconditions, gates, guardrails.

1
TypeScript
View repository →

Track Bilibili creators and get the latest updates on videos, dynamics, and articles. Fetch user p…

7
Python
MIT
View repository →

This MCP server enables users to perform scientific computations regarding linear algebra and vect…

2
Python
MIT
View repository →