Persistent memory for AI coding agents. Remember context across sessions.
- Entity Storage - Store people, projects, patterns, preferences, solutions
- Relations - Link entities together (uses, prefers, solved, etc.)
- Observations - Add notes to entities over time
- Search - Full-text search across all memories
- Graph - Explore connected knowledge
npm install
npm run buildnpm run api
# Runs on http://localhost:3000# Store a memory
curl -X POST http://localhost:3000/remember \
-H "Content-Type: application/json" \
-d '{"name": "prefers-typescript", "type": "preference", "content": "User prefers TypeScript over JavaScript"}'
# Search memories
curl "http://localhost:3000/recall?q=typescript"
# Get stats
curl http://localhost:3000/statsAdd to your MCP config:
{
"mcpServers": {
"oceanir-memory": {
"command": "node",
"args": ["/path/to/oceanir-memory/dist/mcp.js"]
}
}
}MCP Tools:
remember- Store a memoryrecall- Search memoriesobserve- Add observation to entityrelate- Create relation between entitiesget_preferences- Get all preferencesget_patterns- Get patterns and solutionsmemory_stats- Get statsforget- Delete entity
| Feature | Free | Pro ($9/mo) | Enterprise |
|---|---|---|---|
| Memories | 1,000 | Unlimited | Unlimited |
| Requests/day | 100 | 10,000 | Unlimited |
| Self-hosted | - | - | ✓ |
person- User or team member infoproject- Project details and configfile- Important file notesconcept- Technical conceptspreference- User preferences (coding style, tools)pattern- Code patterns to followerror- Common errors encounteredsolution- Solutions to problems
Proprietary - See LICENSE file.