Borg is a no-auth, single-user deployment for local use. Just a standard OpenAI API key and Docker.
- Docker with Compose v2
- An OpenAI API key
cp .env.basic.example .env.basic
# Edit .env.basic and set OPENAI_API_KEY=sk-...
docker compose -f docker-compose.basic.yml --env-file .env.basic up -dVerify it's running:
curl http://localhost:8080/health
# {"status":"ok","profile":"basic"}Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"borg": {
"url": "http://localhost:8080/mcp"
}
}
}No auth header needed — Borg accepts all local connections.
In Claude Desktop, Borg's four tools are available immediately:
- borg_learn — save a decision or discovery
- borg_think — retrieve compiled context before a complex task
- borg_recall — search memory directly
- borg_get_episode — fetch a full stored episode by ID
Example prompt:
"Use borg_learn to record: we decided to use SQLite for the local cache because the data volume is small and we want zero external dependencies."
Borg has no namespace restrictions — use any namespace string you like:
namespace="project-alpha"
namespace="personal"
namespace="work"
docker compose -f docker-compose.basic.yml downData is persisted in the borg-basic-data Docker volume. To reset completely:
docker compose -f docker-compose.basic.yml down -v