Remem
Imports the commit history of a local Git repository into Remem via the import_git_commits tool, recording each commit as a log entry exactly once so no work is missed from the daily, weekly or monthly reports.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Remem
Log your day. Generate reports. Reflect anytime.
Overview
Remem is a local-first MCP (Model Context Protocol) server that captures your daily activities, generates structured reports, and preserves summaries for long-term reflection. It is a work journal for people: daily, weekly and monthly work reports, time tracking, and documents you can hand in.
📝 Log — Record your work, decisions, and memos throughout the day
🏷️ Organize — Classify logs by project and tags, and track time spent
📊 Generate — Create daily, weekly and monthly reports from your logs
📌 Pick up where you left off — Yesterday's plan is shown the first time you use Remem each day
🔍 Find — Search logs and reports, and see where your time went
🖥️ Browse — View, edit and print reports in a local web dashboard
🔒 Local and safe — Everything stays in SQLite on your computer; passwords and keys are masked
Contents
Related MCP server: mcp-cronos
Quick Start
Remem works with any MCP client. It needs Node.js 22 or later.
One command
npx -y @remem/mcp-server setupThis registers Remem with Claude Code, Claude Desktop and Codex, whichever are installed. It never replaces an existing remem entry, keeps your other settings, and saves a backup before changing a file. Use --dry-run to see what it would do, and --client claude-code (or claude-desktop, codex) to pick one. Restart the client afterwards.
Add --hooks to also install two Claude Code hooks: the daily briefing is shown when a session starts, and your commits are recorded when it ends.
The sections below describe the same setup by hand.
Claude Code
claude mcp add remem -- npx -y @remem/mcp-serverClaude Desktop
Add Remem to your Claude Desktop configuration:
{
"mcpServers": {
"remem": {
"command": "npx",
"args": ["-y", "@remem/mcp-server"]
}
}
}OS | Path |
macOS |
|
Windows |
|
Codex
codex mcp add remem -- npx -y @remem/mcp-serverOr add it to ~/.codex/config.toml:
[mcp_servers.remem]
command = "npx"
args = ["-y", "@remem/mcp-server"]opencode
Add Remem to the mcp section of your opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"remem": {
"type": "local",
"command": ["npx", "-y", "@remem/mcp-server"],
"enabled": true
}
}
}The layout of the mcp section differs between opencode versions (newer ones list servers under mcp.servers), so check the opencode MCP documentation for the version you use. remem setup does not configure opencode for this reason.
Muse Code and other clients
Register a local (stdio) MCP server in your client's MCP settings with:
Command:
npxArguments:
-y,@remem/mcp-server
See your client's documentation for where MCP servers are configured.
Remem runs on your own computer and keeps its data there. Cloud-hosted assistants that can only connect to remote (internet-facing) MCP servers cannot use it directly.
Using it
Remem tells the assistant how to use it when it connects, so you can simply ask:
"Log that I finished the login page review."
"Write today's daily report."
"Write this week's report." / "Write last month's report."
"What did I work on last quarter?"
"Open the Remem dashboard."
Clients that support MCP prompts also offer daily_report, weekly_report, monthly_report and log_session as ready-made commands.
Coding agents log more reliably when the project instructions ask for it. Add this to AGENTS.md (Codex, opencode and others) or CLAUDE.md (Claude Code):
## Work log
After finishing a task or making a design decision, record it with the Remem `log` tool.
Use this repository's name as `project` and reuse existing tags from `list_tags`.How It Works
A day with Remem looks like this:
Morning — the first time your assistant uses Remem, it shows what you planned yesterday.
During the day — work, decisions and approvals are logged as they happen, with a project, tags and the time spent:
log(work, "Reviewed PR #123", minutes: 45). Commits can be picked up automatically.Evening — you ask for the daily report. The assistant gathers the day's logs with
prepare_report, writes the report from your template, and stores it together with tomorrow's plan usingsave_summary.End of the week or month —
prepare_period_reportrolls the daily reports up into a weekly or monthly report, with the time spent per project.Months later — "What did I work on last quarter?" is answered from
search,get_historyandget_stats.
Everything is kept in one SQLite file, ~/.remem/remem.db:
Data | Kept for |
Activity logs |
|
Daily, weekly and monthly reports | Forever |
Features
Feature | Description |
Activity Logging | Record work, decisions, memos, and approvals as you go; fix or delete entries later |
Projects, Tags & Time | Classify each log with a project and tags, and record the time spent |
Smart Reports | Generate daily reports with customizable templates |
Weekly & Monthly Reports | Roll daily reports up into weekly and monthly reports, with time per project |
Daily Briefing | The plan from your last report is shown on your first use of the next day |
Search & Statistics | Find anything by keyword; see counts and time by project, type, tag and day |
Git Import | Record your commits as logs, so nothing is missed |
Web Dashboard | Browse, search, edit, export and print reports in your browser |
Export & Sharing | Markdown, plain text and JSON files; printable business documents and PDF from the dashboard |
Secret Masking | Values that look like passwords, tokens or keys are replaced before saving |
Backup & Restore | Move your data to another computer with one file |
Long-term Memory | Summaries are preserved indefinitely for future reflection |
Auto Cleanup | Detailed logs expire after configurable days (default: 30) |
Multi-language | Automatically adapts to your system language (EN/JA) |
Privacy First | All data stored locally in |
Tools
Remem provides the following MCP tools. Tools that return data also return it in structured form for clients that can use it.
Recording
Tool | What it does |
| Record an activity ( |
| Correct an existing log entry |
| Delete a log entry |
| Record the commits of a local Git repository as logs (each commit once) |
| List the projects and tags in use |
Reports
Tool | What it does |
| Gather the day's logs, time spent, the previous plan and the template for AI to write a daily report |
| Save the daily report, with an optional |
| Gather a week's or month's daily reports for AI to write a weekly or monthly report |
| Save the weekly or monthly report |
| Show what was planned in the most recent daily report |
Looking back
Tool | What it does |
| Find logs and reports by keyword, best matches first; falls back to partial matches |
| Read past daily, weekly or monthly summaries |
| Read one report, as Markdown or as plain text for chat and e-mail |
| Count logs and add up time by project, type, tag and day |
Other
Tool | What it does |
| Write reports to a Markdown, text or JSON file in |
| Start the web dashboard and return its address |
| Change or view settings |
Daily briefing
When you save a daily report, Remem also stores what you plan to do next. The first time any Remem tool is used on a following day, that plan is added to the result, so your assistant can tell you where you left off without being asked. It also appears at the top of the dashboard. If a report has no stored plan, Remem uses its "next steps" section (headings such as Tomorrow, Next steps, 明日の予定).
Secret masking
AI assistants sometimes paste a command or config snippet into a log. Before anything is saved, Remem replaces values that look like credentials (API keys, tokens, password=..., private keys, passwords inside URLs) with [REDACTED] and tells the assistant that it did. This is a safety net based on known patterns, not a guarantee: avoid putting secrets into logs in the first place.
Web Dashboard
Browse and edit your reports in a browser. Ask your AI assistant to "open the Remem dashboard", or start it yourself:
npx -y @remem/mcp-server ui # http://localhost:3939/
npx -y @remem/mcp-server ui --port 8080Daily / weekly / monthly reports — read, write and edit reports (Markdown), set the plan for next time, copy a report as plain text
Activity logs — filter by date range, project and tag; edit or delete entries
Search — find logs and reports by keyword
Statistics — entries and time spent by project, type, tag and day
Export & print — download Markdown, text or JSON, or preview reports as a document and print it or save it as PDF from your browser's print dialog
Printable business documents. Reports can be printed as a formal work report on A4. Choose a style (Business document, Standard or Compact) and a typeface (sans-serif or serif), add your name and department, and switch approval boxes, emoji removal, page breaks and the activity log on or off. These choices are remembered in your browser.
Language. The dashboard follows your browser's language (English or Japanese) and has a language switch in the header. Dates are formatted for the chosen language.
The dashboard only listens on your own computer (127.0.0.1) and rejects requests from other sites. It is built to meet WCAG 2.1 AA: full keyboard operation, screen reader labels, sufficient contrast in light and dark themes, and reflow down to 320px.
Command Line
The remem command also works without an AI assistant, which is useful for scripts and hooks. Run it with npx -y @remem/mcp-server <command>.
Command | What it does |
| Register Remem with the MCP clients on this computer |
| Start the web dashboard |
| Print what was planned for today (once per day) |
| Record an activity |
| Record Git commits as logs |
| Write a full backup as JSON |
| Merge a backup into the database |
Log every commit automatically
Add this Git hook to a repository to record each commit as you make it (.git/hooks/post-commit, made executable):
#!/bin/sh
npx -y @remem/mcp-server import-commits --repo "$(git rev-parse --show-toplevel)" >/dev/null 2>&1 &Each commit is imported once, so running it repeatedly is safe.
Backup
remem backup writes everything (logs, reports, settings) to one JSON file. remem restore merges such a file into the database: existing reports and identical log entries are kept, so restoring twice does not duplicate anything. Backup files contain your reports in plain text, so store them somewhere private.
Configuration
Key | Default | Description |
|
| Days to keep detailed activity logs (1–365) |
| (built-in) | Markdown template for daily reports |
| (built-in) | Markdown template for weekly reports |
| (built-in) | Markdown template for monthly reports |
|
| First day of the week for weekly reports ( |
Configure via the configure tool.
Environment variable | Default | Description |
|
| Directory of the database and exports |
| system language |
|
|
| Port of the web dashboard |
About log retention: activity logs older than
retention_daysare deleted wheneverprepare_reportruns. Saved daily, weekly and monthly summaries are never deleted, so save a summary for any day you want to keep.
Development
# Clone the repository
git clone https://github.com/remem-mcp/mcp-server.git
cd mcp-server
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Run the MCP server locally
node build/index.js
# Run the web dashboard locally
node build/index.js uiReleasing
Update
versioninpackage.json(andpackage-lock.json) and inserver.json, and add the changes toCHANGELOG.md.Publish a GitHub release named
vX.Y.Z.
The release workflow then publishes the package to npm and lists the same version in the MCP Registry. If only the registry step needs repeating, run the "Publish" workflow by hand from the Actions tab.
Tech Stack
Runtime: Node.js 22+
Language: TypeScript
Database: SQLite (via Kysely + better-sqlite3)
Protocol: MCP SDK
i18n: i18next
Testing: Vitest
Roadmap
Web UI for browsing history
Export to Markdown/PDF
Weekly and monthly reports
Projects and tags
Search, statistics and time tracking
Daily briefing
Team sync via cloud storage
More languages (zh, ko, es, ...)
VS Code extension integration
See CHANGELOG.md for release notes.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes using Conventional Commits
Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Commit Message Format
This project follows Conventional Commits. Please use the following format:
<type>: <description>
[optional body]Types: feat, fix, docs, style, refactor, test, chore
Examples:
feat: add weekly summary generation
fix: correct date parsing in prepare_report
docs: update installation instructionsLicense
MIT © Remem Contributors
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Privacy-first work tracking with summaries, reports, coaching, and AI-ready long-term memory.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Privacy-first time tracking for freelancers. EU-hosted, with an MCP server for AI assistants.
AI second brain for people who coordinate several projects. Search and write to your daily notes, tasks and boards, calendar, meeting recaps, documents, clips and an Atlas of people, organizations and projects from Claude, ChatGPT or any MCP client. Free plan, OAuth sign-in.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server for time tracking, project management, and AI-powered memory storage using semantic search. It enables users to log time, manage client billing, and capture shared or personal ideas through integrated tools and team collaboration features.1MIT
- AlicenseAqualityCmaintenanceMCP server for structured daily work diary management, enabling entries, standup summaries, weekly reports, full-text search, and automatic git commits.14MIT
- AlicenseNot gradedqualityCmaintenanceA local MCP server for journaling, organizing, and recalling your work. It captures entries as plain markdown files, indexes them for full-text and structured search, and enables querying via natural language.32 PyPI1MIT
- FlicenseAqualityDmaintenanceMCP server that tracks what you are working on. Logs are stored locally as one markdown file per day on your Desktop.5-