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
How to use
Install
npx stifler-memex-mcp init --repo . Tools exposed
get_project_contextget_symbol_contextget_recent_decisionsget_open_problemssearch_contextget_stale_contextexplain_changepredict_impactrecord_decisionrecord_problemresolve_probleminvalidate_edge
Tested with
Claude Code, Cursor
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.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
topoteretes/cognee
Various
Memory platform for AI Agents in 6 lines of code
vectorize-io/hindsight
Various
Hindsight: Agent Memory That Learns
oraios/serena
Various
A powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.