memro-mcp MCP Server
Long-term memory and file coordination for coding agents, shared across tools and sessions.
memro-mcp scores 67 (Good), licensed LicenseRef-PolyForm-Noncommercial-1.0.0 and written in Go. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under AI and memory. GitHub shows 29 stars. Package registries report about 113 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
67 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- License present: licenseref-polyform-noncommercial-1.0.0.
License, quality and maintenance
License: Grade D
LicenseRef-PolyForm-Noncommercial-1.0.0 is source-available, not open source: use is restricted.
How license is gradedQuality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 67 comes from
22 + 20 + 8 + 6 + 4 + 7 = 67. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 6 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "memrohq-memro": { "url": "https://mcp.memro.co/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Memro: long-term memory and coordination for coding agents
Your coding agents remember what earlier sessions learned, follow the rules you set in every tool, and stop overwriting each other's files. Claude Code, Codex, Cursor, Gemini CLI and OpenCode, in a plain terminal or in herdr, T3 Code and Orca.
npx memro-cli connect # memory and coordination: pick your tools, one sign-in
npx memro-cli init # or no account: rules in .memro/rules.md, hooks in every agent tool
- Remembers across sessions and tools: a decision, fix or preference saved in one tool comes back in the next session, in any tool. On LongMemEval's 496 questions, Memro's search puts every past conversation an answer needs in its top 10 results 90% of the time (retrieval only, method and caveats).
- Rules every agent follows: "never…", "always…", "from now on…" in a prompt is saved to
.memro/rules.mdin your words and shown to every agent at every prompt. With the rule buried among 3,000 facts, agents shown it this way avoided the trap 150/150 times; search alone, 58/150 (benchmark). - No collisions: agents claim a file before editing it. A second agent in the same checkout waits and is told who holds it;
git stash,reset --hardand anadd -Athat would sweep up another agent's unfinished work are refused; agents in other worktrees get a merge-conflict warning. - See and message every agent:
npx memro-cli agentslists them with their status and files;senddelivers a message, and wakes an idle agent in its herdr pane, T3 Code thread or Orca terminal. - Your team's context too: Slack, GitHub, Linear, Notion and 40+ more, hosted or self-hosted with Docker.
⭐ If Memro saves you from re-explaining your project, star the repo (top right): it helps other developers find it.
Source-available: free for personal, research and other non-commercial use, including self-hosting; commercial use runs on Memro Cloud or a commercial license.
Memro is licensed under the PolyForm Noncommercial License 1.0.0.
- Free for non-commercial use: personal study, experiments, hobby projects, research, and testing without commercial application.
- Commercial use: using Memro for commercial products or production services requires a managed subscription on Memro Cloud or an enterprise commercial license.
- Getting a commercial license: see memro.co/pricing or contact
subal@memro.co.
github.com/memrohq/memro is the single public repository for Memro: the Go server, official SDKs (Python, JavaScript/TypeScript, Go), the MCP server and the CLI.
Claude Code plugin
/plugin install memro --marketplace memrohq/memro
Adds Memro's MCP server and recalls the project's memory at the start of every session. See integrations/claude-code.
Quickstart
Option A: Memro Cloud with Claude Code, Cursor, or Codex (< 10 lines)
# 1. Connect installed agent tools via device login:
npx memro-cli connect
# 2. Check connection status:
npx memro-cli status
In your assistant, say: "Remember that our primary database is PostgreSQL 16 with pgvector."
Restart your session and ask: "What database and extensions do we use?"
Option B: Self-Host with Docker Compose (Source Available)
Run the full Memro API server and PostgreSQL with pgvector on your own infrastructure:
Option 1: Clone the repository (works today)
git clone https://github.com/memrohq/memro && cd memro
cp .env.example .env # add OPENAI_API_KEY for hybrid search; set METRICS_TOKEN
docker compose up -d # API on :8081, dashboard on :5173, Postgres on 127.0.0.1:55432
curl http://localhost:8081/health
Option 2: Prebuilt images (no clone required, after v0.1.0 release)
curl -fsSL https://raw.githubusercontent.com/memrohq/memro/v0.1.0/docker-compose.release.yml -o docker-compose.yml && docker compose up -d
curl http://localhost:8081/health
(Note: The prebuilt image one-liner downloads docker-compose.release.yml with pinned ghcr.io/memrohq/memro:0.1.0 and ghcr.io/memrohq/memro-dashboard:0.1.0 images, available once v0.1.0 is published.)
- Backend API:
http://localhost:8081 - Dashboard:
http://localhost:5173 - Postgres Database: Port
55432on localhost (Option 1 clone) to avoid port 5432 collisions with existing local Postgres setups. - Metrics Token: Set
METRICS_TOKEN(min 32 characters) in.envto protectGET /metricsandGET /stats/cache; the server logs a warning if unset. - Verify Signatures: Verify published container images keylessly using Cosign:
cosign verify ghcr.io/memrohq/memro:0.1.0 \ --certificate-identity-regexp 'https://github.com/memrohq/memro/' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com
For complete deployment options, production topologies, and configuration tables, see docs/self-hosting.md.
See your memory
Architecture
┌──────────────────────────────────────┐
│ Clients & MCP Tools │
│ Claude Code · Cursor · Codex · SDKs│
└──────────────────┬───────────────────┘
│ HTTP REST / Stdio MCP
┌──────────────────▼───────────────────┐
│ Memro API (Go) │
│ Sovereign Ed25519 Identity · RRF │
└──────────────────┬───────────────────┘
│ SQL & Embeddings
┌──────────────────▼───────────────────┐
│ PostgreSQL 16 + pgvector │
│ pgvector Dense Search + tsvector FTS│
└──────────────────────────────────────┘
Memro runs a Go HTTP API backed by PostgreSQL and pgvector. Search queries combine vector cosine similarity and full-text keyword search using Reciprocal Rank Fusion (RRF, $k=60$). Agents authenticate using sovereign Ed25519 keypairs solved via local proof-of-work (private keys never leave the host) or standard Bearer API tokens.
Repository Layout
memrohq/memro holds all components in one mono-repository:
| Path | Description | Documentation |
|---|---|---|
server/ | Go API server, PostgreSQL + pgvector engine | Self-Hosting Guide |
cli/ | One-command connector (npx memro-cli connect) | CLI Documentation |
mcp/ | Model Context Protocol server (stdio & SSE HTTP) | MCP Guide |
sdk/python/ | Official Python SDK (PyPI: memro) | Python SDK Guide |
sdk/js/ | Official JavaScript / TypeScript SDK (npm: @memro/sdk) | JavaScript SDK Guide |
sdk/go/ | Official Go SDK (github.com/memrohq/memro/sdk/go@v0.1.0) | Go SDK Guide |
examples/ | Runnable integrations (Claude Code, Cursor, Codex) | Examples Index |
bench/ | Reproducible benchmark harness and test suites | Benchmarks Index |
docs/ | Architecture, concepts, API reference, decisions | Documentation Index |
Official SDKs & Runnable Examples
Python (sdk/python)
# PyPI (once published) or install from source: pip install ./sdk/python
pip install memro
from memro import Agent
agent = Agent.create() # local sovereign Ed25519 identity
mem = agent.remember("The billing service was rewritten in Go", type="semantic")
results = agent.recall("billing service language")
print(results[0].content)
See runnable script at examples/python/register_remember_recall.py.
JavaScript / TypeScript (sdk/js)
# npm (once published) or install from local build: npm install ./sdk/js
npm install @memro/sdk
import { Agent } from '@memro/sdk';
const agent = await Agent.create(); // local sovereign Ed25519 identity
const mem = await agent.remember('The billing service was rewritten in Go', { type: 'semantic' });
const results = await agent.recall('billing service language');
console.log(results[0].content);
See runnable script at examples/typescript/index.js.
Go (sdk/go)
go get github.com/memrohq/memro/sdk/go@v0.1.0
package main
import (
"context"
"fmt"
memro "github.com/memrohq/memro/sdk/go"
)
func main() {
ctx := context.Background()
agent, _ := memro.CreateAgent(nil)
mem, _ := agent.Remember(ctx, "The billing service was rewritten in Go", nil)
results, _ := agent.Recall(ctx, "billing service language", nil)
fmt.Println(results[0].Content)
}
See runnable script at examples/go/main.go.
Integration Guides
Step-by-step guides for connecting coding tools with full session-restart memory verification:
- Claude Code Integration (
examples/claude-code/) - Cursor Integration (
examples/cursor/) - OpenAI Codex Integration (
examples/codex/)
Advanced Memory Features
Memro includes structured primitives and cognitive graphs beyond basic vector search:
- Typed Memories: Categorize observations as
semantic(facts),episodic(events/conversations),procedural(runbooks/recipes), orprofile(agent guardrails). See Memory Concepts. - Temporal Search & Evolution: Query memories with timestamp weighting and trace how beliefs evolve over time. See API Reference.
- Conflict Analysis & Resolution: Identify contradictory facts across sessions and mark superseded memories using
resolve_conflict(). See Conflict Resolution. - Reasoning Graphs: Trace memory provenance, causal chains, and dependencies between stored observations. See Opinionated Guide.
Measurable Verification & Benchmarks
Memro publishes empirical evaluations and methodology:
- LongMemEval Benchmark: Evaluated across 500 questions testing multi-session recall and knowledge updates. See LongMemEval Report.
- Empirical Failure & Boundary Evaluations: Runnable test suite for identity boundaries, contradictory facts, stale facts, and distractor rejection. See Measurable Evaluations.
- Clean-Machine Verification: Full transcript verifying every quickstart command in a container without local caches. See Verification Transcript.
Contributing & Development
# 1. Start PostgreSQL with pgvector
docker compose up -d db
# 2. Run backend API server
cd server
DATABASE_URL=postgres://memro:memro@localhost:55432/memro go run ./cmd/memro-api
# 3. Run tests
MEMRO_TEST_DATABASE_URL=postgres://memro:memro@localhost:55432/memro go test -race ./...
Please review CONTRIBUTING.md and SECURITY.md before submitting pull requests.
Repository: github.com/memrohq/memro · Documentation: https://memro.co · Community: Discord License: Source available under PolyForm Noncommercial 1.0.0. Free for non-commercial use; commercial use requires Memro Cloud or a commercial license.
Frequently asked questions
What is memro-mcp MCP Server?
Long-term memory and file coordination for coding agents, shared across tools and sessions.
How do I install memro-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. memro-mcp MCP Server connects to the remote endpoint https://mcp.memro.co/mcp, so there is nothing to install locally.
Is memro-mcp MCP Server free and open source?
memro-mcp MCP Server is released under the LicenseRef-PolyForm-Noncommercial-1.0.0 license, which is not on MCPpedia's list of OSI-approved open-source licenses. Read the license terms before using it, especially commercially.
Does memro-mcp MCP Server support remote (HTTP) connections?
Yes. memro-mcp MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is memro-mcp MCP Server's trust score calculated?
memro-mcp MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
