# Give your agents a memory.

Earlyn gives AI coding agents a memory: one click registers a local MCP server in Claude Code, Codex, Cursor, Windsurf or Gemini CLI, so they can search what you saw and heard and ask Earlyn questions, over 127.0.0.1 only.

[Video: Connecting Claude Code to Earlyn in Settings → Connect.](https://www.earlyn.app/video/clips/clip-connect)

## Connect in one click

Settings → Connect lists Claude Code, Codex, Cursor, Windsurf and Gemini CLI. Connect writes the Earlyn server into that tool's own settings and turns on Earlyn's local API; disconnecting the last tool turns it off again. By hand it is one command:

```sh
claude mcp add --scope user earlyn -- "/Applications/Earlyn.app/Contents/MacOS/earlyn-mcp"
```

## What the agent can do

| Tool | What it returns |
| --- | --- |
| search_memory | Moments, transcript lines and documents that match |
| recent_memories | The newest moments, optionally for one app |
| get_memory / get_frame | The full text or the picture of one moment |
| list_meetings / get_meeting | Meetings with transcript, summary and action items |
| ask_earlyn | An answer from your history with its sources |
| daily_digests / user_profile | Daily summaries and the facts Earlyn learned |
| query_sql | Read-only SQL over the database |
| list_skills / get_skill / run_workflow | Your skills and agents |

## Skills, agents and the command line

- **Skills Market**: reviewed SKILL.md files such as /distill-day, /summarize-meeting and /standup that teach Claude Code and Codex to use your memory. They are bundled in the app.
- **Agents**: prompts that run on a schedule, when a meeting ends, when a word appears on screen or when an app opens, and save to your notes or send to Slack, Notion, Linear, GitHub or HubSpot.
- **Command line**: `earlyn search`, `earlyn ask` and `earlyn context` give a terminal the same memory.
- **Local API**: REST and live events on 127.0.0.1 with a bearer token. See the [docs](https://www.earlyn.app/docs#api).

## Questions

### Is the MCP server reachable from my network?

No. The API listens on 127.0.0.1 only and refuses requests without its token. It is off until you connect a tool or turn it on.

### Does the agent see everything?

It sees what Earlyn kept, through the tools above. Excluded apps, private windows, password fields and secrets were never stored in the first place.

---
Canonical: https://www.earlyn.app/features/ai-agents · Updated 2026-10-02
