Dear Agent

Dear Agent

Automatically maintains a personal journal on behalf of an AI agent, storing text, photos, and voice notes as plain markdown files locally. Enables agents to add entries, recall memories, and reflect on patterns without user intervention.

Category
访问服务器

README

Dear Agent

npm version license: MIT MCP PRs welcome

<p align="center"> <img src="https://raw.githubusercontent.com/BitmapAsset/dear-agent/main/assets/dear-agent.jpg" alt="A person tells their AI agent about a hard day; the agent writes it into their diary." width="100%"> </p>

Your AI agent keeps your diary for you. You never open an app or write a word.

You already talk to an AI agent all day. Dear Agent lets that agent quietly keep your personal life journal — filing what you tell it, the photos you send, and the voice notes you record, neatly by date. No app to open. No blank page to face. No habit to build. You just live your life and mention what matters; your agent does the writing.

It is a single, local-first MCP server plus a skill, so it drops into any agent that speaks MCP: Claude Code, Claude Desktop, Cursor, OpenClaw, and more.

Why it is different

  • You do not write it. Your agent does. Every other journal — Day One, Obsidian, Notion, a paper notebook — needs you to open it and type. Dear Agent flips that: you talk, it records.
  • Cross-agent. One diary, readable and writable by whatever agent you use.
  • Text, photos, and voice. Send a picture or a voice note and it is filed under that day.
  • Local-first and yours. Plain markdown on your own disk. No account, no cloud, no lock-in. Delete the folder and it is gone.
  • It remembers with you. "On this day" resurfaces past entries; a weekly digest lets your agent write you a short reflection.

Install

npm install -g dear-agent

Or run it straight from npx (no install):

npx dear-agent

Claude Code / Claude Desktop

claude mcp add dear-agent -- npx -y dear-agent

Or add to your MCP config:

{
  "mcpServers": {
    "dear-agent": {
      "command": "npx",
      "args": ["-y", "dear-agent"]
    }
  }
}

Cursor / OpenClaw / other MCP clients

Point the client at the dear-agent command (stdio transport). Set DEAR_AGENT_DIR if you want the diary somewhere other than ~/.dear-agent.

Then drop SKILL.md into your agent's skills so it knows to keep your diary proactively.

How you use it

You never call tools yourself. You just talk to your agent:

"Remember that I closed the apartment lease today, felt huge relief." "Save this photo for today — first dinner in the new place." (send the photo) "What was I doing a year ago today?" "Give me a recap of this week."

Your agent calls the right tool and keeps the diary current.

It remembers you, and it talks back

Dear Agent is not just storage. Two capabilities turn it into a living memory of your life:

  • recall — your agent can ask the diary "what do you know about this person — their people, patterns, open commitments?" and get a synthesized portrait. Your agent finally remembers your life, so every conversation is grounded in who you actually are.
  • reflect — a proactive loop that surfaces patterns, progress, open loops, and on this day memories, so your diary reflects your life back to you instead of sitting in a folder.

Obsidian stores your notes. Dear Agent remembers your life and talks back. And because it never leaves your machine, it's the one place you can be completely honest.

Works with any agent, harness, or interface

Interface How
MCP tools 11 tools (below) over stdio.
MCP prompts daily_checkin, weekly_reflection — surface as slash-commands.
MCP resources diary://today, diary://index.
Skill SKILL.md for skill-based harnesses (Claude Code, OpenClaw).
CLI dear-agent add "...", recall, reflect, … — for any agent that can run a shell.

CLI examples:

dear-agent add "Closed the interview, felt good." --mood hopeful --tags job,win
dear-agent recall Sarah
dear-agent reflect week
dear-agent on-this-day

Tools

Tool What it does
add_entry Save a text moment (optional mood, tags) for a day.
add_photo Save a photo for a day (local path or base64), with a caption.
add_voice_note Save a voice note for a day, with an optional transcript.
get_day Read one day's full entry.
get_range Read entries between two dates.
search Find days matching a word or phrase.
recall What the diary knows about a person/topic, or a whole-life profile digest.
reflect Patterns, progress, open loops, and on-this-day, for a proactive check-in.
on_this_day Resurface this same calendar date from past years.
weekly_digest Pull the last 7 days for a reflection.
list_days List every day on record.

Dates accept today, yesterday, or YYYY-MM-DD.

Where your diary lives

~/.dear-agent/
  entries/
    2026-06-29.md
  media/
    2026-06-29/
      first-dinner.jpg
      morning-thought.ogg

Set DEAR_AGENT_DIR to choose a different location.

Contributing

Issues and pull requests are welcome. Dear Agent is intentionally small and dependency-light — keep changes focused, keep storage as plain files the user owns, and keep everything local-first and private. See ROADMAP.md for where it is headed.

License

MIT © BitmapAsset. Free for anyone, anywhere, in any agent.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选