GrantAi Memory MCP server
com.solonai · Updated
Persistent memory for AI agents. Infinite context with sub-millisecond recall.
At a glance
GrantAi Memory is an MCP server in the AI & Memory category. It runs locally over stdio via `npx -y https://github.com/solonai-com/grantai/releases/download/v1.8.5/grantai-mcp-macos-arm64.zip`, and needs GRANTAI_LICENSE_KEY. It exposes 9 tools, including grantai_infer, grantai_teach and grantai_learn. It scores B (63/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install GrantAi Memory in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install GrantAi Memory in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add grantai -e 'GRANTAI_LICENSE_KEY=<GRANTAI_LICENSE_KEY>' -- npx -y https://github.com/solonai-com/grantai/releases/download/v1.8.5/grantai-mcp-macos-arm64.zipFill in your credentials
Replace <GRANTAI_LICENSE_KEY> with your real value. Keep secrets out of any config file you commit.
Verify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes (e.g. grantai_infer, grantai_teach, grantai_learn). It discovers them automatically.
How to install GrantAi Memory in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "grantai": { "command": "npx", "args": [ "-y", "https://github.com/solonai-com/grantai/releases/download/v1.8.5/grantai-mcp-macos-arm64.zip" ], "env": { "GRANTAI_LICENSE_KEY": "<GRANTAI_LICENSE_KEY>" } } } }Fill in your credentials
Replace <GRANTAI_LICENSE_KEY> with your real value. Keep secrets out of any config file you commit.
Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install GrantAi Memory in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "grantai": { "command": "npx", "args": [ "-y", "https://github.com/solonai-com/grantai/releases/download/v1.8.5/grantai-mcp-macos-arm64.zip" ], "env": { "GRANTAI_LICENSE_KEY": "<GRANTAI_LICENSE_KEY>" } } } }Fill in your credentials
Replace <GRANTAI_LICENSE_KEY> with your real value. Keep secrets out of any config file you commit.
Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install GrantAi Memory in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.grantai] command = "npx" args = ["-y", "https://github.com/solonai-com/grantai/releases/download/v1.8.5/grantai-mcp-macos-arm64.zip"] env = { GRANTAI_LICENSE_KEY = "<GRANTAI_LICENSE_KEY>" }Fill in your credentials
Replace <GRANTAI_LICENSE_KEY> with your real value. Keep secrets out of any config file you commit.
Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install GrantAi Memory in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "grantai": { "command": "npx", "args": [ "-y", "https://github.com/solonai-com/grantai/releases/download/v1.8.5/grantai-mcp-macos-arm64.zip" ], "env": { "GRANTAI_LICENSE_KEY": "<GRANTAI_LICENSE_KEY>" } } } }Fill in your credentials
Replace <GRANTAI_LICENSE_KEY> with your real value. Keep secrets out of any config file you commit.
Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install GrantAi Memory in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "grantai": { "command": "npx", "args": [ "-y", "https://github.com/solonai-com/grantai/releases/download/v1.8.5/grantai-mcp-macos-arm64.zip" ], "env": { "GRANTAI_LICENSE_KEY": "<GRANTAI_LICENSE_KEY>" } } } }Fill in your credentials
Replace <GRANTAI_LICENSE_KEY> with your real value. Keep secrets out of any config file you commit.
How to install GrantAi Memory in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "grantai": { "type": "stdio", "command": "npx", "args": [ "-y", "https://github.com/solonai-com/grantai/releases/download/v1.8.5/grantai-mcp-macos-arm64.zip" ], "env": { "GRANTAI_LICENSE_KEY": "<GRANTAI_LICENSE_KEY>" } } } }Fill in your credentials
Replace <GRANTAI_LICENSE_KEY> with your real value. Keep secrets out of any config file you commit.
Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What does GrantAi Memory need from you?
API key — Your GrantAi license key (get one free at solonai.com/grantai/signup)
GRANTAI_LICENSE_KEYrequiredsecretEnvironment variableYour GrantAi license key (get one free at solonai.com/grantai/signup)
GRANTAI_LICENSE_KEYrequiredsecretEnvironment variableYour GrantAi license key (get one free at solonai.com/grantai/signup)
GRANTAI_LICENSE_KEYrequiredsecretEnvironment variableYour GrantAi license key (get one free at solonai.com/grantai/signup)
Pass secrets through your shell environment rather than committing them into a config file.
What tools does GrantAi Memory expose? (9)
Taken from the project's README — the server itself was not queried, so check its docs for the exact schemas.
- 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
What the code can do
Source analysis currently covers npm packages only. This server ships as a container image, whose contents are not readable the same way.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
- Downloads at launch — The package is fetched from its registry each run unless you pin a version.
- Last commit 1 month ago — Actively maintained.
- 0 GitHub stars — Very little community usage so far.
- No license declared — Without a license the code is not legally reusable in a commercial project.
Client compatibility
Health score
B · 63Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%99%
Last commit 40 days ago.
- Adoption20%0%
0 stars.
- Transparency20%75%
3/4: ✓ public source repo, ✗ declared license, ✓ documentation, ✓ discoverable tool list.
- Provenance15%75%
Links to its own repository; package linkage unverified.
- Packaging15%50%
No pinned version — installs resolve to whatever is latest at launch.
Documentation
Full READMEGrantAi
<strong>Deterministic Memory for AI</strong> Local. Private. Secure.
Website • Download • Documentation
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" | iexThe 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:
Excerpt — the full document is on GitHub.
Alternatives to GrantAi Memory
- Synap MemoryA · 88Persistent memory for AI agents — log and recall conversation context over MCP.
- Cairn.ink MemoryA · 80Cross-session memory for AI agents with a Source Receipt for every memory, over MCP.
- hmem — Humanlike Memory for AI AgentsA · 85Persistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.
- Cathedral — Persistent Memory for AI AgentsB · 73Persistent memory and drift detection for AI agents across session restarts.
Maintain GrantAi Memory? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/com-solonai-grantai)Catalog data refreshed . Something wrong? Report it.