GrantAi Memory logo

GrantAi Memory

Local MCP memory for storing, importing, and retrieving agent context with tools for projects, code, Git history, and conversations.

Install GrantAi Memory

Run the project’s own setup commands, in order.

Setup steps from the project

GrantAi Memory installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL "https://solonai.com/grantai/install.sh?src=github" | bash
    
  2. 2. Install
    irm "https://solonai.com/grantai/install.ps1?src=github" | iex
    

Overview

GrantAi Memory MCP server provides local persistent memory for AI agents through tools that store, retrieve, import, and organize context. It uses deterministic lookup rather than similarity-based retrieval, returning indexed content with attribution from a shared memory pool. Agents can save session summaries, project state, code snippets, Git history, files, and conversation turns. Reach for it when agents need continuity across sessions or shared memory across multiple MCP-compatible clients.

Use cases

  • Preserve conversation context across sessions
  • Share research findings between agents
  • Import project files and Git history
  • Store reusable code patterns
  • Track project decisions and state

Key features

  • Deterministic local memory retrieval
  • Persistent storage for agent context
  • File, directory, and Git history import
  • Session, project, snippet, and conversation storage
  • Optional agent attribution and filtering
  • Docker-based shared memory deployment

Tools9

What GrantAi Memory lets your agent do. Expand a tool for its parameters.

Self-reported~90 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/25 checks healthy over the last 109d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2mo agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.

How GrantAi Memory works

What GrantAi Memory MCP server does

GrantAi Memory MCP server gives AI agents a local memory layer exposed through MCP. It can retain knowledge for later retrieval, preserve session context, record project state, and organize technical material such as code patterns and Git history. The memory pool can be shared by multiple agents using the same GrantAi instance.

The project describes its retrieval model as deterministic rather than similarity-based. Stored knowledge receives a unique identifier, and retrieval returns the indexed content with attribution. This makes the server relevant when exact stored material matters more than finding semantically similar passages, such as retaining project decisions, research findings, or conversation context.

How it works

Agents communicate with GrantAi through MCP tools. grantai_teach stores content, while grantai_infer queries memory for relevant context. Other tools provide more structured ways to add information: files and directories can be imported, session summaries can be saved, project state can be tracked, code patterns can be recorded, Git commit history can be imported, and conversation turns can be captured for continuity.

All agents connected to the same instance use the same memory pool by default. Optional speaker attribution identifies which agent contributed a stored item, and retrieval can filter results by agent with from_agents. This supports workflows such as handing research findings from one agent to a coding agent.

The server is designed to run locally. Docker deployments can share a named volume so multiple clients access the same data.

Setup and configuration

The free edition can be installed on macOS, Linux, or Windows using the documented shell or PowerShell installer. Homebrew installation is also available through the solonai/grantai/grantai-free tap. The installer places files under ~/.grantai/free on macOS and Linux, or %LOCALAPPDATA%\\GrantAi\\free on Windows, and registers the server with supported clients found on the machine.

Docker is available on all listed platforms. The documented image is ghcr.io/solonai-com/grantai-memory:1.8.6. A Claude Desktop configuration runs the container interactively and mounts the grantai-data volume at /data; using the same volume lets multiple agents share memory.

No account, email address, or license key is required for the free edition. The provided setup instructions do not specify environment variables.

Tools and capabilities

  • grantai_infer: Query memory for relevant context.
  • grantai_teach: Store content for future recall.
  • grantai_learn: Import files or directories.
  • grantai_health: Check server status.
  • grantai_summarize: Store session summaries.
  • grantai_project: Track project state.
  • grantai_snippet: Store code patterns.
  • grantai_git: Import Git commit history.
  • grantai_capture: Save conversation turns for continuity.

GrantAi Memory MCP server works with MCP-compatible clients and is documented for Claude Code, Claude Desktop, Cursor, Gemini CLI, and Codex.

Limitations and notes

The free edition requires a one-time model download of about 650 MB. Native installation support is listed for macOS on Apple Silicon, Linux x64, and Windows; Docker is listed for all platforms. Instead, it directs users to separate pricing and terms information.

The documented retrieval behavior is based on content stored in GrantAi. It does not claim to connect to external knowledge bases or synchronize memory between separate instances automatically. For multi-agent sharing, clients need to point to the same GrantAi instance or shared Docker volume.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about GrantAi Memory

GrantAi Memory is an MCP server that connects AI agents to a local persistent memory layer. Its main tools store and retrieve context, import files and Git history, save summaries, track projects, record snippets, check health, and capture conversation turns. Multiple MCP clients can share one memory pool through the same instance.

Install it with the documented macOS/Linux shell script, Windows PowerShell script, Homebrew package, or Docker image. Native installation supports macOS Apple Silicon, Linux x64, and Windows. The installer can register the server with supported clients found on the machine.

Yes, GrantAi Memory is documented as supporting Cursor.

Multiple agents share memory by connecting to the same GrantAi instance. With Docker, mount the same `grantai-data` volume for each client. Optional speaker attribution lets agents identify contributors and filter retrieval by agent.

Yes, `grantai_learn` imports files or directories, and `grantai_git` imports Git commit history. The server also provides tools for storing code snippets, project state, summaries, and conversation turns.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGrantAi Memory AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/grantai-memory?style=directory)](https://allmcps.com/mcp/grantai-memory)
HTML Embed
<a href="https://allmcps.com/mcp/grantai-memory"><img src="https://allmcps.com/api/badge/grantai-memory?style=directory" alt="GrantAi Memory on AllMCPs" /></a>