# heropen — AI Agent Memory (pypi · heropen)

Persistent memory for AI agents: local-first MCP server, zero-config. No cloud, no API keys.

- Trust score: 62/100 (medium)
- Change this week: +40
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-10-18

## Components

- pypi · `heropen`: 62/100 (this document), [markdown](https://verifymcp.io/servers/net-heropen-heropen/heropen.md), [page](https://verifymcp.io/servers/net-heropen-heropen/heropen)

## Channel facts

- Registry: `pypi`
- Package: `heropen`
- Version: `2.0.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-10-18.

- **Supply Chain Security**: 44/100
  - Malware scan not yet available for this package.
  - No known CVEs affecting this package version or its production dependencies.
  - Declares code that runs automatically (a .pth file that runs at every Python start-up) and that we could not recognise. It may be perfectly ordinary, but we have not established what it does.
  - 0 of 28 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 6 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 66/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 1244 tokens (~155/item across 8 items; 8 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 90/100
  - Stability observed for 27 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 71/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 8 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 9 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the heropen — AI Agent Memory MCP server?

heropen — AI Agent Memory runs locally as a PyPI package, launched with uvx heropen. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add net-heropen-heropen -- uvx heropen
```

### Cursor

```json
{
  "mcpServers": {
    "net-heropen-heropen": {
      "command": "uvx",
      "args": [
        "heropen"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "net-heropen-heropen": {
      "command": "uvx",
      "args": [
        "heropen"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add net-heropen-heropen -- uvx heropen
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "net-heropen-heropen": {
      "type": "local",
      "command": [
        "uvx",
        "heropen"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add net-heropen-heropen --command uvx --arg heropen
```

### Hermes

```yaml
mcp_servers:
  net-heropen-heropen:
    command: "uvx"
    args: ["heropen"]
```

### Netclaw

```json
{
  "McpServers": {
    "net-heropen-heropen": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "heropen"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add net-heropen-heropen -t stdio -c uvx -a heropen
```

### Other

```json
{
  "mcpServers": {
    "net-heropen-heropen": {
      "command": "uvx",
      "args": [
        "heropen"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-10-17 (score 62, +1)

No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-14 (score 61, +39)

- [security improvement] Injection markers: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Stability: unverified → 0.77
- [functional improvement] MCP protocol: unverified → pass

### 2026-10-13 (score 22, −15)

- [security regression] Malware scan: pass → unverified
- [functional] Package version: 1.9.6 → 2.0.0

### 2026-10-12 (score 37, +15)

- [security improvement] Malware scan: unverified → pass
- [functional] Package version: 1.9.6 → 2.0.0

### 2026-10-08 (score 22, −49)

- [security regression] Stability: 0.43 → unverified
- [security regression] Malware scan: pass → unverified
- [security regression] Tool safety: pass → unverified
- [functional regression] Capabilities: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified
- [functional] Package version: 1.9.6 → 2.0.0

### 2026-10-03 (score 71, +1)

No change was recorded against any check on this day. Stability & Change Management went from 37 to 40. That category is still filling its 30-day observation window: 11 days of observed history at the previous scan, 12 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-01 (score 70, +1)

No change was recorded against any check on this day. Stability & Change Management went from 30 to 33. That category is still filling its 30-day observation window: 9 days of observed history at the previous scan, 10 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-29 (score 69, +4)

- [functional improvement] Stability: unverified → 0.27

## MCP tools (8)

### `search_memory` (~215 tokens)

搜索用户的长期记忆。在以下情况必须调用：
\- 对话开始时，了解用户背景和历史
\- 用户提到人名、项目名、偏好等关键词时
\- 用户询问"还记得吗"或类似问题时
不要等用户要求才搜索。主动搜索能让你更懂用户。三层回退：向量 → 全文 → 模糊匹配。

        Args:
            query: Keywords to search for. Use the user's own words or inferred topics.
            limit: Max results (1-20, default 5).
            agent: Which agent's memory to search (default: auto).
            date_from: Only return entries on or after this date (YYYY-MM-DD).
            date_to: Only return entries on or before this date (YYYY-MM-DD).

Input parameters:

- `agent`
- `date_from` (string)
- `date_to` (string)
- `limit` (integer)
- `query` (string, required)

Output parameters:

- `result` (string)

### `prime_conversation` (~236 tokens)

对话开始前必须调用：获取当前时间上下文（heropen 自动生成）。

返回自然语言时间区块，包含：当前本地时间、时段词、距上次对话间隔、
是否跨睡眠周期（区分"工作-短休息-工作"与"工作-长休息-继续工作"）、
今日对话轮次、以及相对时间词锚点提示。

把这段文本作为上下文读入，你的寒暄与对"明天/下周"等相对时间的理解才有据可依，
不会出现"晚上说早上好"或把用户凌晨说的"明天"误判为字面次日。

返回内容开头会带一行「开场签名」（品牌 + 状态），形如：
heropen 已就绪 · 本地记忆 187 条 · 距上次对话约 3 小时 · agent=xiaokai

Args:
    agent: Which agent's context to prime (default: auto).

Input parameters:

- `agent`

Output parameters:

- `result` (string)

### `add_memory` (~227 tokens)

保存信息到用户的长期记忆。在以下情况必须调用：
\- 用户分享了新的偏好、习惯、约定、项目信息
\- 对话中产生了需要后续跟进的事项
\- 对话即将结束时，保存本次产生的关键信息
优先主动保存，不要等用户说"记住这个"。content 上限 5000 字。

        Args:
            section: Category/topic for this memory (e.g. '用户偏好', '项目状态', '对话记录').
            content: The information to remember (max 5000 chars). Write it clearly so future you can understand it.
            tags: Comma-separated keywords for better search.
            agent: Which agent's memory to write to (default: auto).
            entry_date: Date for this entry (YYYY-MM-DD, default: today).

Input parameters:

- `agent`
- `content` (string, required)
- `entry_date` (string)
- `section` (string, required)
- `tags` (string)

Output parameters:

- `result` (string)

### `update_memory` (~54 tokens)

Update an existing memory entry. Only provided fields are changed.

Input parameters:

- `agent`
- `content`
- `entry_date`
- `entry_id` (integer, required)
- `section`
- `tags`

Output parameters:

- `result` (string)

### `list_memory` (~77 tokens)

列出用户的记忆列表。用于概览已有记忆、检查冗余、了解记忆总量。

Args:
    limit: How many recent entries to show (max 50, default 10).
    agent: Which agent's memories to list.

Input parameters:

- `agent`
- `limit` (integer)

Output parameters:

- `result` (string)

### `health` (~86 tokens)

Check heropen system health and connection status. Call this when you start up to verify everything is working. If pending_setup is true, it means heropen was just installed — show the welcome_message to the user and ask if they'd like to complete the setup.

Args:
    clear_pending: Set to true after completing initial setup to clear the pending marker.

Input parameters:

- `clear_pending` (boolean)

Output parameters:

- `result` (string)

### `session_checkpoint` (~121 tokens)

Save a session checkpoint. Call periodically during long conversations
so the agent can recover context after compression or restart.

Args:
    agent: Which agent's memory
    context_summary: Summary of current conversation context
    active_task: What task is currently being worked on
    key_decisions: Comma-separated key decisions made so far
    tags: Extra comma-separated tags

Input parameters:

- `active_task` (string)
- `agent`
- `context_summary` (string)
- `key_decisions` (string)
- `tags` (string)

Output parameters:

- `result` (string)

### `session_recover` (~71 tokens)

Recover the most recent session checkpoint(s). Use after context
compression or agent restart to pick up where you left off.

Args:
    agent: Which agent's memory
    limit: Number of recent checkpoints (default 1, max 5)

Input parameters:

- `agent`
- `limit` (integer)

Output parameters:

- `result` (string)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/net-heropen-heropen/heropen#diagnostics

## Score history

- 2026-10-18: 62
- 2026-10-17: 62
- 2026-10-16: 61
- 2026-10-15: 61
- 2026-10-14: 61
- 2026-10-13: 22
- 2026-10-12: 37
- 2026-10-08: 22
- 2026-10-04: 71
- 2026-10-03: 71
- 2026-10-02: 70
- 2026-10-01: 70
- 2026-09-30: 69
- 2026-09-29: 69
- 2026-09-28: 65
- 2026-09-27: 67
- 2026-09-26: 67
- 2026-09-25: 67
- 2026-09-24: 67
- 2026-09-23: 67
- 2026-09-22: 67
- 2026-09-21: 52

## Common questions

### What is the heropen — AI Agent Memory MCP server?

heropen — AI Agent Memory is an MCP server listed in the public MCP registry as net.heropen/heropen. Persistent memory for AI agents: local-first MCP server, zero-config. No cloud, no API keys. This page covers its PyPI package (heropen).

### Is the heropen — AI Agent Memory MCP server safe to use?

heropen — AI Agent Memory scores 62 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 18 October 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the heropen — AI Agent Memory MCP server expose?

heropen — AI Agent Memory exposes 8 tools: search_memory, prime_conversation, add_memory, update_memory, list_memory, and 3 more. Their descriptions and schemas cost roughly 1,087 tokens of context every time the server is loaded.

### Is the heropen — AI Agent Memory MCP server still maintained?

heropen — AI Agent Memory is still listed as active in the MCP registry. We last reached this channel on 18 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the heropen — AI Agent Memory MCP server under?

heropen — AI Agent Memory declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- PyPI project: https://pypi.org/project/heropen/
- Socket report: https://socket.dev/pypi/package/heropen
- Repository: https://github.com/Koradji77/heropen
- Website: https://heropen.net/
- Changelog RSS feed: https://verifymcp.io/servers/net-heropen-heropen/heropen.xml
- Changelog JSON feed: https://verifymcp.io/servers/net-heropen-heropen/heropen.json
- HTML version of this page: https://verifymcp.io/servers/net-heropen-heropen/heropen
