# An MCP server for your saved Reels and TikToks

> Connect Claude Code, Codex or any MCP client to your HookScan library: search your saved videos and read every breakdown as Markdown. Read-only.

Canonical: https://hookscan.app/for-ai-agents · Updated November 2026

HookScan has a built-in MCP server. Connect Claude Code, Codex or another MCP client with your personal token, and your assistant can search your library and read any breakdown as Markdown. It is read-only and sees only your own notes.

HookScan is in a free, invite-only beta. Leave your email to get an invite.

## Four tools

The server lives at `https://hookscan.app/mcp` and speaks streamable HTTP with JSON answers. Every request carries your token as `Authorization: Bearer …`. New tools appear in your assistant by themselves (in a new chat); you never reconnect.

| Tool | Input | Returns |
| --- | --- | --- |
| `list_topics` | none | Your topic › subtopic tree with the number of notes in each. |
| `list_notes` | optional `topic`, `subtopic`, `limit` up to 50, `offset`, `sort` | The notes filed under a topic or subtopic, newest first: id, title, creator, platform, date saved and a one-line gist. |
| `search_notes` | `query`, optional `limit` up to 30 | Matching notes, best first: id, title, topic, platform, creator, date saved, how many words matched and where, a snippet, the original link and the app link. Words match their word family, in Ukrainian, Russian and English. |
| `get_note` | `id` | The whole note as Markdown: details, one section per breakdown including Only visible in the video, and the transcript. |

## Connect Claude Code

In HookScan open Settings → Connect AI assistant and create a token. It is shown once, so copy it straight into an environment variable, for example `VIDEO_NOTES_MCP_TOKEN` in a file only you can read. Then add the server:

```
claude mcp add --scope user --transport http hookscan https://hookscan.app/mcp \
  --header 'Authorization: Bearer ${VIDEO_NOTES_MCP_TOKEN}'
```

The single quotes keep the variable unexpanded, so Claude Code reads the token at start-up and never stores it in its config.

## Connect Codex

Add the server to `~/.codex/config.toml` and keep the token in the same environment variable:

```
[mcp_servers.hookscan]
url = "https://hookscan.app/mcp"
bearer_token_env_var = "VIDEO_NOTES_MCP_TOKEN"
```

Other MCP clients work the same way, as long as they can call a streamable HTTP server and send an Authorization header.

## What to ask your assistant

Once connected, your library becomes context the assistant can pull in on its own. A few things people ask:

- "Find the hooks I saved about pricing and write three for my product."
- "Compare the calls to action in my saved UGC reviews."
- "Read my notes on quiz funnels and draft a brief for a new landing page."

## Markdown in every answer

`get_note` returns plain Markdown, so a note pastes cleanly into a doc, a prompt or a repository. To take the whole library with you, open `https://hookscan.app/api/export` while signed in: it saves every note as a Markdown file, in folders by topic and subtopic, in one archive.

## Read-only and private

- The tools only read. An assistant cannot change, move or delete notes.
- A token sees only the library of the account that created it.
- HookScan stores only a hash of the token. Creating a new token turns the old one off at once.
- Without a valid token the server answers 401 and returns nothing.

## Questions about MCP

### Can an assistant change or delete my notes?

No. Every MCP tool only reads your notes: none can change or delete them.

### Who can see my library?

Only you. Every note, breakdown and saved video belongs to your account, and nobody else can open it, search it or reach it through an AI assistant.

### How do I get access?

Join the waitlist with your email. When your invite is ready you get a sign-in link at that address. There is no password to remember: each sign-in is a link sent to your email.

## Give your assistant a swipe file

Leave your email and the invite comes to that address. Join the waitlist at https://hookscan.app/#join.
