Skip to main content
Glama
robby031
by robby031

MCP Pocket Memory

Small MCP server for durable AI memory backed by SQLite.

Features

  • Store, update, delete, and search memories.

  • Optional repo field for project-specific context.

  • Optional custom tags for faster filtering.

  • Broad keyword search across key, content, repo, and tags.

  • SQLite WAL mode for light parallel agent usage.

  • Cached find_memory results with TTL.

Related MCP server: simple-memory-mcp

Build

cargo build --release

Install

From crates.io:

https://crates.io/crates/mcp-pocket-memory

cargo install mcp-pocket-memory

From GitHub Releases:

https://github.com/robby031/mcp-pocket-memory/releases

Init Database

mcp-pocket-memory init

Default database path: ~/.mcp-pocket-memory/pocket_memory.sqlite3.

MCP Config

{
  "mcpServers": {
    "pocket-memory": {
      "command": "/path/to/mcp-pocket-memory",
      "args": ["serve"],
      "env": {
        "POCKET_MEMORY_FIND_CACHE_CAPACITY": "512",
        "POCKET_MEMORY_FIND_CACHE_TTL_SECS": "30"
      }
    }
  }
}

To use a custom database path, set POCKET_MEMORY_DB.

Tools

upsert_memory

Insert or update a memory by key.

{
  "key": "repo-error-handling",
  "repo": "my-repo",
  "tags": ["convention", "error-handling"],
  "content": "Use structured errors for service boundaries. Keep user-facing messages separate from internal debug context."
}

find_memory

Find relevant memories. Can be called without filters to load recent context.

{
  "repo": "my-repo",
  "keyword": "error handling",
  "tags": ["convention"],
  "limit": 10
}

delete_memory

Delete a memory by exact key.

{
  "key": "repo-error-handling"
}

Release

GitHub Actions builds release binaries when pushing a tag:

git tag v0.4.0
git push origin v0.4.0
A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • -
    license
    -
    quality
    -
    maintenance
    Provides persistent local memory functionality for AI assistants, enabling them to store, retrieve, and search contextual information across conversations with SQLite-based full-text search. All data stays private on your machine while dramatically improving context retention and personalized assistance.
    Last updated
    3
  • A
    license
    -
    quality
    D
    maintenance
    Provides AI assistants with persistent memory across sessions using local SQLite and keyword search, allowing storage and retrieval of user preferences, project context, and decisions.
    Last updated
    17
    7
    MIT

View all related MCP servers

Related MCP Connectors

  • Persistent memory for AI agents. Search, store, and recall across sessions.

  • Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.

  • Universal memory for AI agents and tools. Save, organize and search context anywhere.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/robby031/mcp-pocket-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server