git404hub

what is memgrep fr?

darula-hpp/memgrep — explained in plain English

Analysis updated 2026-05-18

2TypeScriptAudience · developerSetup · moderate

tl;dr

A local memory and job scheduling tool that lets Cursor coding agents recall past chats and repeat saved workflows.

vibe map

mindmap
  root((memgrep))
    What it does
      Local agent memory
      Coding loops
      Job scheduling
      Remote via Telegram
    Tech stack
      TypeScript
      SQLite
      MCP server
    Use cases
      Recall past fixes
      Auto PR on task done
      Cron playbooks
    Audience
      Cursor developers
      Coding agent builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Recall a fix or decision from a past Cursor, Claude Code, or Kiro chat instead of re-explaining it

VIBE 2

Set up a coding loop that implements a task and opens a pull request once checks pass

VIBE 3

Schedule a playbook to run on a cron timer, like a periodic health check

VIBE 4

Trigger a real local Cursor agent remotely from a Telegram bot on your phone

what's the stack?

TypeScriptNode.jsSQLiteMCPCursor SDK

how it stacks up fr

darula-hpp/memgrepadun-denton/chinvatagbara286/saint-cms
Stars222
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderateeasy
Complexity4/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Coding loop, Telegram bot, and scheduled jobs need a Cursor API key and network access.

in plain english

memgrep is a local memory and scheduling system built for people who code with Cursor. It runs entirely on your own machine and gives coding agents a way to remember past work instead of starting fresh every session. The core idea is that agent chats burn time and tokens solving problems that were already solved in an earlier conversation. memgrep fixes this by ingesting past chat transcripts from Cursor, Claude Code, and Kiro, storing them locally in a small database, and letting you search them later with a mix of keyword and meaning based search. You can also manually save notes or playbooks with a simple remember command, then pull them back up mid task using recall. Beyond memory, memgrep adds a coding loop feature. You give it a task, it works through the code with Cursor, checks defined exit conditions, and can automatically open a pull request once the work passes. There is also a job scheduler built on cron, so you can set playbooks to run on a timer, for example a health check every five minutes. A Telegram bot is included so you can trigger a real local Cursor agent from your phone rather than only from a laptop. Everything connects through one MCP server, which is the same protocol used by tools like Claude Code, so any MCP capable agent can plug into memgrep's memory, jobs, and loop features. Optional extras exist for tools such as Jira, Neon, and PostHog, but these only appear once configured with credentials. Setup requires Node.js 18 or newer, and the small local embedding model downloads once on first use so that search works offline afterward. Using the coding loop, Telegram bot, and scheduled jobs does require network access and a Cursor API key. The project is aimed at developers already comfortable with Cursor who want their agent workflows to persist and repeat rather than restart from scratch each time.

prompts (copy fr)

prompt 1
Ingest my recent Cursor and Claude Code chats with memgrep and show me what got stored
prompt 2
Set up a memgrep coding loop for this project that runs until tests pass and opens a PR
prompt 3
Show me how to schedule a memgrep job that runs a smoke test playbook every 5 minutes
prompt 4
Configure memgrep's MCP server so my Claude Code agent can use recall and remember

Frequently asked questions

what is memgrep fr?

A local memory and job scheduling tool that lets Cursor coding agents recall past chats and repeat saved workflows.

What language is memgrep written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, SQLite.

How hard is memgrep to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is memgrep for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.