STiFLeR7/memex
by Various
Persistent memory for AI coding agents via MCP — a bitemporal knowledge graph of your codebase, served to Claude Code, Cursor, Gemini CLI, and any MCP client. Tree-sitter + Gemini
MCP
STiFLeR7/memex
Added 1 June 2026
Overview
STiFLeR7/memex provides persistent memory for AI coding agents through the Model Context Protocol (MCP). It builds a bitemporal knowledge graph of a codebase using Tree-sitter for parsing and Gemini Flash for embeddings, stored in Neo4j via Graphiti. The tool offers 12 MCP tools, hierarchical clustering, and a two-regime confidence decay system for memory management.
Best for
Best for
Developers using MCP-compatible coding agents who need persistent, temporally aware codebase memory
Use cases
- Give Claude Code or Cursor long-term recall of code structure and changes across sessions
- Query historical codebase context with temporal awareness for debugging or refactoring
- Integrate persistent memory into any MCP-compatible agent workflow
Notes
STiFLeR7/memex provides persistent memory for AI coding agents through the Model Context Protocol (MCP). It builds a bitemporal knowledge graph of a codebase using Tree-sitter for parsing and Gemini Flash for embeddings, stored in Neo4j via Graphiti. The tool offers 12 MCP tools, hierarchical clustering, and a two-regime confidence decay system for memory management.
11 stars on GitHub. Last updated 2026-06-01. Licensed MIT.
Use cases
- Give Claude Code or Cursor long-term recall of code structure and changes across sessions
- Query historical codebase context with temporal awareness for debugging or refactoring
- Integrate persistent memory into any MCP-compatible agent workflow
Pros
- Bitemporal graph captures both state and history of code for rich context
- Works with multiple popular coding agents via standard MCP interface
- Confidence decay helps manage stale or less relevant information automatically
Cons
- Requires running a Neo4j database, adding infrastructure overhead
- Depends on Gemini Flash for embeddings, limiting offline or alternative model use
- Small community (11 stars) means limited support and documentation
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Bitemporal graph captures both state and history of code for rich context
- Works with multiple popular coding agents via standard MCP interface
- Confidence decay helps manage stale or less relevant information automatically
Cons
- Requires running a Neo4j database, adding infrastructure overhead
- Depends on Gemini Flash for embeddings, limiting offline or alternative model use
- Small community (11 stars) means limited support and documentation
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Aider
Paul Gauthier
Terminal-first AI pair programmer. Edits files in your repo, commits with sensible messages, runs your tests.