Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿง  Knowledge & Memory
  3. Memstate MCP
Memstate MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 2:00:32 PM

Memstate MCP

User RatingsBe the first to rate and review this MCP server!
View Repository8 GitHub StarsTotal stargazers on GitHub for the source repository (8 stars).Visit Website
memoryknowledge-baseagent-contextversioning

Hosted MCP server for structured, versioned agent memory with keypath storage and conflict detection.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "memstate-ai-memstate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@memstate/mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿง  More in Knowledge & Memory

Overview

Memstate stores agent facts as structured keypaths and preserves their version history. It detects conflicts between changing facts and supports targeted retrieval instead of loading an entire memory store. Use it for agents that need persistent, cross-session project or decision context.

Use cases

โ€ขStore project facts across agent sessions
โ€ขTrack changing architecture or database decisions
โ€ขDetect contradictions between old and new information
โ€ขRetrieve targeted memory with bounded token usage

Key features

โ€ขStructured keypath-based memory
โ€ขFull version history for stored facts
โ€ขAutomatic conflict detection
โ€ขDeterministic fact retrieval
โ€ขO(1) token retrieval
โ€ขHosted service with no local database or Docker requirement

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Memstate MCP.

Extracted Tool Capabilities
Structured keypath-based memory
Full version history for stored facts
Automatic conflict detection
Deterministic fact retrieval
O(1) token retrieval
Hosted service with no local database or Docker requirement

Documentation Overview

Memstate AI - MCP

npm version License: MIT MCP Node memstate-mcp MCP server

Versioned memory for AI agents. Store facts, detect conflicts, and track how decisions change over time โ€” exposed as a hosted MCP server.

Dashboard ยท Docs ยท Pricing


Why Memstate?

RAG (most other memory systems)Memstate AI
Token usage per conversation~7,500~1,500
Agent visibilityBlack boxFull transparency
Memory versioningNoneFull history
Token growth as memories scaleO(n)O(1)
Infrastructure requiredYesNone โ€” hosted SaaS

Other memory systems dump everything into your context window and hope for the best. Memstate gives your agent a structured, versioned knowledge base it navigates precisely โ€” load only what you need, know what changed, know when facts conflict.


Benchmarks

We built an open-source benchmark suite that tests what actually matters for agent memory: can your system store facts, recall them accurately across sessions, detect conflicts when things change, and maintain context as a project evolves?

Head-to-Head: Memstate AI vs Mem0

Both systems were tested under identical conditions using the same agent (Claude Sonnet 4.6, temperature 0), the same scenarios, and the same scoring rubric.

MetricMemstate AIMem0Winner
Overall Score69.115.4Memstate
Accuracy (fact recall)74.112.6Memstate
Conflict Detection85.519.0Memstate
Context Continuity63.710.1Memstate
Token Efficiency22.330.6Mem0

Scoring weights: Accuracy 40%, Conflict Detection 25%, Context Continuity 25%, Token Efficiency 10%.

Per-Scenario Breakdown

The benchmark runs five real-world scenarios that simulate multi-session agent workflows:

ScenarioMemstate AIMem0
Web App Architecture Evolution43.255.6
Auth System Migration66.210.2
Database Schema Evolution72.77.0
API Versioning Conflicts86.50.9
Team Decision Reversal77.23.3

Mem0 won the first scenario (simple architecture tracking), but struggled severely on scenarios requiring contradiction handling, cross-session context, and decision reversal tracking โ€” scoring near zero on three of five scenarios.

Why Memstate Wins

The benchmark reveals a fundamental architectural difference:

Mem0 uses embedding-based semantic search. Facts are chunked, embedded, and retrieved by similarity. This works for simple lookups but breaks down when:

  • Facts contradict earlier facts (the system can't distinguish current vs. outdated)
  • Precise recall is needed (embeddings return "similar" results, not exact ones)
  • Write-to-read latency matters (new memories take seconds to become searchable)

Memstate uses structured, versioned key-value storage. Every fact lives at an explicit keypath with a full version history. This means:

  • Conflict detection is built in โ€” when a new fact contradicts an old one, the system knows and preserves both versions
  • Recall is deterministic โ€” you get back exactly what was stored, not an approximate match
  • Cross-session continuity is reliable โ€” the agent navigates a structured tree rather than hoping semantic search surfaces the right context
  • Token cost stays O(1) โ€” the agent loads summaries first and drills into detail only when needed, instead of dumping all potentially-relevant embeddings into the context window

Fairness Notes

  • Both systems used the same agent model, temperature, and evaluation rubric
  • Mem0 was given a 10-second ingestion delay between writes and reads to account for its async embedding pipeline
  • Mem0 scores higher on token efficiency, but this metric should be read in context โ€” lower token usage can simply reflect less information being returned. A system that retrieves incomplete or incorrect facts uses fewer tokens per response but may require more follow-up calls, ultimately costing more tokens to reach the same answer
  • The benchmark source code is included in this repository for full reproducibility
  • Mem0 may perform differently with custom configuration or a different embedding model

Quick Start

Get your API key at memstate.ai/dashboard, then add to your MCP client config:

config.json
{
  "mcpServers": {
    "memstate": {
      "command": "npx",
      "args": ["-y", "@memstate/mcp"],
      "env": {
        "MEMSTATE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

No Docker. No database. No infrastructure. Running in 60 seconds.


Client Setup

Claude Desktop

Config location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
config.json
{
  "mcpServers": {
    "memstate": {
      "command": "npx",
      "args": ["-y", "@memstate/mcp"],
      "env": { "MEMSTATE_API_KEY": "YOUR_API_KEY_HERE" }
    }
  }
}

Claude Code

Terminal
claude mcp add memstate npx @memstate/mcp -e MEMSTATE_API_KEY=YOUR_API_KEY_HERE

Cursor

In Cursor Settings โ†’ MCP โ†’ Add Server โ€” same JSON format as Claude Desktop above.

Cline / Windsurf / Kilo Code / Roo Code

All support the same stdio MCP config format. Add to your client's MCP settings file.


Core Tools

ToolWhen to use
memstate_rememberStore markdown, task summaries, decisions. Server extracts keypaths and detects conflicts automatically. Use for most writes.
memstate_setSet a single keypath to a short value (e.g. config.port = 8080). Not for prose.
memstate_getBrowse all memories for a project or subtree. Use at the start of every task.
memstate_searchSemantic search by meaning when you don't know the exact keypath.
memstate_historySee how a piece of knowledge changed over time โ€” full version chain.
memstate_deleteSoft-delete a keypath. Creates a tombstone; full history is preserved.
memstate_delete_projectSoft-delete an entire project and all its memories.

How keypaths work

Memories are organized in hierarchical dot-notation:

Code
project.my_app.database.schema
project.my_app.auth.provider
project.my_app.deploy.environment

Keypaths are auto-prefixed: keypath="database" with project_id="my_app" โ†’ project.my_app.database. Your agent can drill into exactly what it needs โ€” no full-context dumps.


How It Works

Code
Agent: memstate_remember(project_id="my_app", content="## Auth\nUsing SuperTokens...")
         โ†“
Server extracts keypaths:  [project.my_app.auth.provider, ...]
         โ†“
Conflict detection:  compare against existing memories at those keypaths
         โ†“
New version stored โ€” old version preserved in history chain
         โ†“
Next session: memstate_get(project_id="my_app") โ†’ structured summaries only
         โ†“
Agent drills into project.my_app.auth only when it needs auth details

Token cost stays constant regardless of how many total memories exist.


Add to Your Agent Instructions

Copy into your AGENTS.md or system prompt:

markdown
## Memory (Memstate MCP)

### Before each task
- memstate_get(project_id="my_project") โ€” browse existing knowledge
- memstate_search(query="topic", project_id="my_project") โ€” find by meaning

### After each task
- memstate_remember(project_id="my_project", content="## Summary\n- ...", source="agent")

### Tool guide
- memstate_remember โ€” markdown summaries, decisions, task results (preferred)
- memstate_set โ€” single short values only (config flags, status)
- memstate_get โ€” browse/retrieve before tasks
- memstate_search โ€” semantic lookup when keypath unknown
- memstate_history โ€” audit how knowledge evolved
- memstate_delete โ€” remove outdated memories (history preserved)

Environment Variables

VariableDefaultDescription
MEMSTATE_API_KEY(required)API key from memstate.ai/dashboard
MEMSTATE_MCP_URLhttps://mcp.memstate.aiOverride for self-hosted deployments

Verify Your Connection

bash
MEMSTATE_API_KEY=your_key npx @memstate/mcp --test

Prints all available tools and confirms your API key works.

Built for AI agents that deserve to know what they know.

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    โ˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    ๐Ÿง  Knowledge & Memory21 views
    Compare vs Moxie Docs MCP โ†’
  • Scrivener MCP logoScrivener MCP

    Connect Scrivener 3 writing projects to Claude and other AI assistants. 47 tools for document management, writing analysis, semantic search, character/plot memory, and content enhancement. Progressive skill loading, relationship engine with HMS triplets, and JS fallback for offline semantic search. npm i -g scrivener-mcp

    ๐Ÿง  Knowledge & Memory16 views
    Compare vs Scrivener MCP โ†’
  • Memora logoMemora

    Persistent memory with knowledge graph visualization, semantic/hybrid search, cloud sync (S3/R2), and cross-session context management.

    ๐Ÿง  Knowledge & Memory2 views
    Compare vs Memora โ†’
  • Hindsight logoHindsight

    Hindsight: Agent Memory That Works Like Human Memory - Built for AI Agents to manage Long Term Memory

    ๐Ÿง  Knowledge & Memory3 views
    Compare vs Hindsight โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
8
Stargazers on the source repository.
npm downloads
82
Package downloads in the last 30 days.
Last commit
5mo ago
Most recent push to the default branch.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Memstate MCP

It stores facts as structured keypaths and keeps a full version history for them.

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 PreviewMemstate MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/memstate-ai-memstate-mcp?style=directory)](https://allmcps.com/mcp/memstate-ai-memstate-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/memstate-ai-memstate-mcp"><img src="https://allmcps.com/api/badge/memstate-ai-memstate-mcp?style=directory" alt="Memstate MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿง Knowledge & Memory
PricingBring your own API key (usage-based cost)
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
AuthAPI key
LicenseMIT
ClientsClaude Desktop, Cursor, Windsurf, Cline / VS Code
Last updatedAug 11, 2026
10/13 checks healthy over the last 32d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars8
GitHub Star CountTotal stargazers on GitHub representing community popularity (8 stars).
Last commit5mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Apr 1, 2026
npm downloads82/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
51Quality signal: Good ยท 51/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools23/30
Adoption & activity5/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 27d ago via OSV.dev ยท @memstate/mcp (npm)

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿง  Knowledge & Memory โ†’Best MCP servers for Memory & Knowledge โ†’Alternatives to Memstate MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code