# chatmem MCP server

> Captures and stores local LLM chat history in an embedded Postgres database to serve relevant past context back to AI clients via MCP.

- Repository: https://github.com/sid077/chatmem
- Page: https://hostedmcp.org/servers/sid077/chatmem
- Transport: —
- Stars: 2
- License: Apache-2.0

## Tools (15)

- `conversation_id`
- `role`
- `content`
- `model`
- `provider`
- `client_id`
- `token_count`
- `query`
- `top_k`
- `token_budget`
- `since`
- `until`
- `conversation_ids`
- `limit`
- `after`

## FAQ

### Is my message content private?

Yes, message content never leaves your machine; only anonymous telemetry like install IDs and aggregate counters are sent.

### Can I import existing chat transcripts?

Yes, you can bulk-load existing chat transcripts in JSONL or JSON array formats into chatmem.

### Does it support Notion integration?

Yes, it can automatically synthesize conversations into structured Notion pages for study or debugging.
