mcpField
G
Grantai

Grantai

Local
github.com/solonai-comMemory & Knowledge0Updated 6w ago

About Grantai

Grantai is a local deterministic memory MCP server for LLMs, coding tools, and AI agents. It stores and retrieves exact content, supports shared memory across agents, and keeps data encrypted on device.

Key features

  1. 01Retrieve memory by unique identifiers
  2. 02Import files, directories, and Git history
  3. 03Store session summaries and conversation turns
  4. 04Track project state and code snippets
  5. 05Share memory across agents with attribution
  6. 06Run locally with AES-256 encryption

Use cases

  1. 01Restore project context across sessions
  2. 02Share findings between research and coding agents
  3. 03Store and retrieve code patterns and Git history
  4. 04Provide sourced content for compliance queries

MCP support

Grantai exposes tools for querying and storing memory, importing content, checking server health, and tracking projects. MCP clients can connect agents to the same instance for shared read and write access.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository
Packages
mcpbgrantai-mcp-macos-arm64.zip
mcpbgrantai-mcp-linux-x64.zip
ocighcr.io/solonai-com/grantai-memory:1.8.5

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

GrantAi

Deterministic Memory for AI
Local. Private. Secure.

Website • Download • Documentation

GrantAi Demo


Free Edition — one command, no account

The free edition is the full local memory engine as an MCP server: no email, no license key, no trial, and no network after the one-time model download (about 650 MB).

# macOS / Linux
curl -fsSL "https://solonai.com/grantai/install.sh?src=github" | bash
# Windows 10/11 (PowerShell)
irm "https://solonai.com/grantai/install.ps1?src=github" | iex

The installer verifies both downloads against a published SHA-256 manifest, installs under ~/.grantai/free (Windows: %LOCALAPPDATA%\GrantAi\free), and registers the server with Claude Code, Claude Desktop, Cursor, Gemini CLI and Codex where they are installed. Any other MCP client takes the same command and arguments. Homebrew: brew install solonai/grantai/grantai-free. Air-gapped installs and the full list of what runs where are on the developers page.

The Problem

Every AI system today has the same flaw: it guesses instead of remembers.

RAG (Retrieval-Augmented Generation) converts your documents into vectors — numerical approximations of meaning. When you query, it returns content that is mathematically similar to your question. Similar is not the same as correct.

Ask for "HIPAA encryption penalties" and RAG returns chunks that look like compliance content. Maybe the right section. Maybe adjacent paragraphs. Maybe hallucinated ranges. You pay for every token retrieved, whether relevant or not.

This is the Retrieval Tax:

  • Re-retrieval — Same questions, same searches, same cost
  • Over-retrieval — 20 chunks when you need 3
  • Labor — Engineers tuning embeddings instead of building products
  • Risk — Approximate answers in domains that require precision

Enterprise AI spends 85% of compute on inference. Most of that is wasted on retrieving content that doesn't answer the question.

The Solution

GrantAi is deterministic memory for AI agents.

Instead of similarity search, GrantAi uses direct addressing. Every piece of knowledge has a unique identifier. Retrieval is a lookup, not a search. You get the exact content you indexed — verbatim, with attribution, in milliseconds.

RAGGrantAi
Returns similar contentReturns the exact content
10-20 chunks, hope one is right1-3 sentences, always right
Slows down as corpus growsMilliseconds regardless of size
No attributionFull audit trail
ApproximateDeterministic

Result: 97% reduction in tokens sent to the LLM. Faster responses. Lower cost. No hallucination from retrieval.

Why It Matters

  • Compliance — Exact citations, not paraphrased guesses
  • Multi-Agent — Shared memory across your AI workforce with speaker attribution
  • Cost — Pay for answers, not for searching
  • Security — 100% local, AES-256 encrypted, zero data egress

Quick Start

macOS / Linux (Native)
# 1. Download from https://solonai.com/grantai/download
# 2. Extract and install
./install.sh

# 3. Restart your AI tool (Claude Code, Cursor, etc.)
Docker (All Platforms)
docker pull ghcr.io/solonai-com/grantai-memory:1.8.6

Add to your Claude Desktop config (~/.config/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "grantai": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--pull", "always",
               "-v", "grantai-data:/data",
               "ghcr.io/solonai-com/grantai-memory:1.8.6"]
    }
  }
}

Supported Platforms

PlatformMethodStatus
macOS (Apple Silicon)Native✅
Linux (x64)Native✅
WindowsNative✅
All PlatformsDocker✅

MCP Tools

GrantAi provides these tools to your AI:

ToolDescription
grantai_inferQuery memory for relevant context
grantai_teachStore content for future recall
grantai_learnImport files or directories
grantai_healthCheck server status
grantai_summarizeStore session summaries
grantai_projectTrack project state
grantai_snippetStore code patterns
grantai_gitImport git commit history
grantai_captureSave conversation turns for continuity

Multi-Agent Memory Sharing

Multiple agents can share knowledge through GrantAi's memory layer.

Basic shared memory (no setup required)
# Any agent stores
grantai_teach(
    content="API rate limit is 100 requests/minute.",
    source="api-notes"
)

# Any agent retrieves
grantai_infer(input="API rate limiting")

All agents read from and write to the same memory pool. No configuration needed.

With agent attribution (optional)

Use speaker to track which agent stored what, and from_agents to filter retrieval:

# Store with identity
grantai_teach(
    content="API uses Bearer token auth.",
    source="api-research",
    speaker="researcher"  # optional
)

# Retrieve from specific agent
grantai_infer(
    input="API authentication",
    from_agents=["researcher"]  # optional filter
)
When to use speaker
ScenarioUse speaker?Why
Shared knowledge baseNoAll contributions equal, no filtering needed
Session continuityNoSame context, just persist and retrieve
Research → Code handoffYesCoder filters for researcher's findings only
Role-based trustYesSecurity agent's input treated differently
Framework integration

GrantAi works with any MCP-compatible client. Point your agents at the same GrantAi instance:

{
  "mcpServers": {
    "grantai": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--pull", "always",
               "-v", "grantai-data:/data",
               "ghcr.io/solonai-com/grantai-memory:1.8.6"]
    }
  }
}

All agents using this config share the same memory volume (grantai-data).

Built By

GrantAi is built by Lawrence Grant, founder of SolonAI.

Background: Harvard, IBM, AI architecture and security work for Blackstone, Goldman Sachs, and Vanguard. Author of Mergers and Acquisitions Cybersecurity: The Framework For Maximizing Value.

Why We Built This

Read the full case for deterministic memory: Your AI Has Amnesia. You're Paying. Blame the Architecture.

Documentation

Support

License

Free to try. Pricing & Terms


Get Started →

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.