MCP Catalogs
Home

sugar

by roboticforce·75·Score 46

Sugar provides persistent memory for AI coding agents with MCP integration for cross-session context and task automation.

developer-toolsai-llmknowledge-graph
14
Forks
4
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

Sugar is a sophisticated memory system for AI coding agents that combines persistent storage with autonomous task execution. It operates through MCP servers that expose tools for searching and storing memories, as well as executing tasks autonomously. The system uses a dual-database approach (project-specific and global) with semantic search capabilities to provide relevant context to AI agents across sessions. This enables AI assistants to remember project-specific decisions, preferences, and error patterns while also accessing cross-project guidelines and best practices.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI coding agents need persistent memory across sessions to remember project-specific preferences and decisions
you:Autonomous resolution of GitHub issues labeled as security, bug, or dependabot
you:Cross-project knowledge sharing through global guidelines and best practices
you:What memory types does Sugar support?
you:How does Sugar handle both project-specific and global memory?

When to choose this

Choose Sugar when you need persistent memory across AI coding sessions and want to automate GitHub issue resolution while maintaining coding consistency across projects.

When NOT to choose this

Don't choose Sugar if you need a commercial license for proprietary use, as the AGPL-3.0 license requires source code disclosure for modifications.

Tools this server exposes

5 tools extracted from the README
  • search_memory

    Search both memory stores, returns results with scope labels

  • store_learning

    Save a memory (pass scope: 'global' for cross-project)

  • recall

    Get formatted markdown context for a topic

  • get_project_context

    Full project summary including global guidelines

  • list_recent_memories

    Browse recent memories by type

Comparable tools

aideropencodeclaude-codegoose

Installation

# Recommended installation with pipx
pipx install sugarai

# With semantic search (recommended)
pipx install 'sugarai[memory]'

# With GitHub integration
pipx install 'sugarai[github]'

# Setup for Claude Code
claude mcp add sugar -- sugar mcp memory
claude mcp add sugar-tasks -- sugar mcp tasks

Configuration file: .sugar/config.yaml

FAQ

What memory types does Sugar support?
Sugar supports seven memory types: decision, preference, file_context, error_pattern, research, outcome, and guideline. Each has different TTL and retrieval behavior.
How does Sugar handle both project-specific and global memory?
Sugar uses two SQLite databases: one project-specific (.sugar/memory.db) and one global (~/.sugar/memory.db). Search is project-first but always includes global guidelines.

On Hacker News

Recent discussion from the developer community.

Compare sugar with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.