Synap MCP Server logo

Synap MCP Server

Organization
maximem-ai

Maximem Synap is the memory layer that makes AI agents remember. 92% LongMemEval, 93.2% on LOCOMO. Works natively with LangChain, LlamaIndex, CrewAI, Google ADK, AutoGen, OpenAI Agents, Semantic Kernel, Haystack, and Pydantic AI.

Publishermaximem-ai
Repositorymaximem_synap_sdk
LanguagePython
Forks
15
Stars
73
Available tools
0
Transport typestdio
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Synap MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    73 stars and 15 forks from the linked repository.


The memory layer for production AI agents

Your AI agents forget everything between conversations. Synap fixes that with a production-grade memory layer built for applications that serve real users at scale. #1 on LongMemEval (92%) and LoCoMo (93.2%), sub-15ms anticipatory retrieval, and native integrations with every major AI framework.

What's in this repo: the open-source Python and JavaScript SDKs plus all framework integrations, licensed under Apache 2.0. The Synap memory engine itself (ingestion, entity resolution, retrieval, anticipation) runs as a fully managed cloud service operated by Maximem and is not open source. The SDKs in this repo are clients for that service; there is nothing to self-host, and an API key is required.


Benchmarks

Synap leads the field on the two standard long-term memory benchmarks, evaluated on identical hardware with an open-source harness.

BenchmarkSynap accuracy
LongMemEval92%
LoCoMo93.2%

Synap outperforms leading published memory systems, run through the same open-source evaluation harness on identical hardware and configs.

"Longer conversations make Synap better, not worse." Richer entity graphs and stronger pattern recognition at scale.

Full methodology and reproduction instructions → maximem.ai/blog/synap-benchmark-results


Install

bash
# Python
pip install maximem-synap

# JavaScript / TypeScript
npm install @maximem/synap-js-sdk

60-second quickstart

Your agent forgets. Synap remembers across conversations, sessions, and devices.

The SDK connects to the hosted Synap cloud service, so you'll need an API key. There's no local server to run: memory processing happens in Synap's cloud, not in this package.

python
import asyncio
from maximem_synap import MaximemSynapSDK

sdk = MaximemSynapSDK(api_key="your-api-key")

async def main():
    await sdk.initialize()

    # Monday's standup
    await sdk.conversation.record_message(
        conversation_id="mon-standup",
        user_id="alice",
        role="user",
        content="I'm migrating our auth service to OAuth2 this sprint.",
    )

    # Friday: completely different conversation, same user
    context = await sdk.fetch(
        conversation_id="fri-review",
        user_id="alice",
        search_query=["what is alice working on?"],
    )

    print(context.formatted_context)
    # → "Alice is migrating the auth service to OAuth2 this sprint."

asyncio.run(main())
javascript
const { createClient } = require('@maximem/synap-js-sdk');

const client = createClient({ apiKey: 'your-api-key' });
await client.init();

// Record
await client.conversation.recordMessage({
    conversationId: 'mon-standup',
    userId: 'alice',
    role: 'user',
    content: "I'm migrating our auth service to OAuth2 this sprint.",
});

// Fetch later, anywhere
const context = await client.fetchUserContext({
    userId: 'alice',
    query: 'what is alice working on?',
});

console.log(context.formattedContext);

What makes Synap different

🎯 Anticipatory Retrieval

Synap pre-fetches context before your agent requests it. 15ms P50 latency in production. For voice AI agents, this is the difference between natural conversation and awkward pauses.

🔗 Entity Resolution

When a user says "my manager" in turn 3 and "Sarah" in turn 12, Synap resolves them automatically. Cross-session, cross-conversation, without the agent doing any work.

⏳ Temporal Awareness

Context from 30 minutes ago and context from 30 days ago should not carry equal weight. Synap applies temporal decay and relevance scoring so your agent surfaces the right information at the right time.

🧠 Conscious Forgetting

When a user says "ignore what I said about the budget," Synap processes that as a retraction, not just more context to store. Contradiction handling is built into the pipeline.

🏗️ Custom Memory Architectures

No universal memory model. Synap builds customized memory architectures per use case. Customer support agents and voice AI agents need different context strategies. Synap handles both.

🏢 Multi-Tenant Scoping

Built for B2B from day one. Memory is scoped across a four-level hierarchy:

client          → shared knowledge across your entire platform
  └── customer  → per-company context (multi-tenant B2B)
        └── user       → per-user memory and preferences
              └── conversation → in-session history

One fetch() call merges all relevant scopes in parallel.


Framework integrations

Installable packages, not code snippets. Deep framework surfaces with callbacks, graph nodes, retrievers, memories, and plugins.

LangChain

bash
pip install maximem-synap maximem-synap-langchain
python
from maximem_synap import MaximemSynapSDK
from synap_langchain import SynapChatMessageHistory
from langchain_openai import ChatOpenAI
from langchain_core.runnables.history import RunnableWithMessageHistory

sdk = MaximemSynapSDK(api_key="your-api-key")
await sdk.initialize()

chain = RunnableWithMessageHistory(
    ChatOpenAI(),
    lambda session_id: SynapChatMessageHistory(
        sdk=sdk, conversation_id=session_id, user_id="alice",
    ),
)

CrewAI

bash
pip install maximem-synap maximem-synap-crewai
python
from synap_crewai import SynapStorageBackend

crew = Crew(
    agents=[...], tasks=[...],
    memory=True,
    storage=SynapStorageBackend(sdk=sdk, user_id="alice"),
)

LlamaIndex

bash
pip install maximem-synap maximem-synap-llamaindex
python
from synap_llamaindex import SynapChatMemory

memory = SynapChatMemory(sdk=sdk, user_id="alice")
agent = ReActAgent.from_tools(tools, memory=memory)

All integrations

FrameworkPackageInstall
LangChainmaximem-synap-langchainpip install maximem-synap-langchain
LangGraphmaximem-synap-langgraphpip install maximem-synap-langgraph
LlamaIndexmaximem-synap-llamaindexpip install maximem-synap-llamaindex
CrewAImaximem-synap-crewaipip install maximem-synap-crewai
AutoGenmaximem-synap-autogenpip install maximem-synap-autogen
Haystackmaximem-synap-haystackpip install maximem-synap-haystack
Google ADKmaximem-synap-google-adkpip install maximem-synap-google-adk
OpenAI Agents SDKmaximem-synap-openai-agentspip install maximem-synap-openai-agents
Semantic Kernelmaximem-synap-semantic-kernelpip install maximem-synap-semantic-kernel
Pydantic AImaximem-synap-pydantic-aipip install maximem-synap-pydantic-ai
Agnomaximem-synap-agnopip install maximem-synap-agno
LiveKit Agentsmaximem-synap-livekit-agentspip install maximem-synap-livekit-agents
Pipecatmaximem-synap-pipecatpip install maximem-synap-pipecat
Claude Agent (Python)maximem-synap-claude-agentpip install maximem-synap-claude-agent
Claude Agent (TypeScript)@maximem/synap-claude-agentnpm i @maximem/synap-claude-agent
Mastra@maximem/synap-mastranpm i @maximem/synap-mastra
Vercel AI SDK@maximem/synap-vercel-adknpm i @maximem/synap-vercel-adk
Vercel eve@maximem/synap-evenpm i @maximem/synap-eve
NVIDIA NeMo Agent Toolkitmaximem-synap-nemo-agent-toolkitpip install maximem-synap-nemo-agent-toolkit
Microsoft Agent Frameworkmaximem-synap-microsoft-agentpip install maximem-synap-microsoft-agent
Strands Agentsmaximem-synap-strands-agentspip install maximem-synap-strands-agents
CAMEL-AImaximem-synap-camel-aipip install maximem-synap-camel-ai
Smolagentsmaximem-synap-smolagentspip install maximem-synap-smolagents
Deepagentsmaximem-synap-deepagentspip install maximem-synap-deepagents

MCP server

Give no-code and low-code agents (Gumloop, n8n, and any MCP-compatible client) persistent memory with nothing but an MCP URL and your Synap API key. No SDK, no code. The server exposes Synap's memory as four MCP tools (log_exchange, check_memory_status, recall_context, list_recent_memories) over Streamable HTTP.

It's a stateless adapter over the hosted Synap API: each call maps to one REST operation and your Bearer token is forwarded verbatim, so there's no separate backend to run. Use the managed endpoint (grab the URL and token from your dashboard), or self-host the adapter from source.

→ Source & self-hosting: packages/mcps/synap-mcp-server/


Deep dives

Understand the system before building on it:


Agent skills

Drop-in instructions for coding agents (Claude Code, Cursor, etc.) that teach them how to wire Synap into your codebase.

  • Maximem Synap skill: covers SDK setup, scoping (User/Customer/Client), ingestion, retrieval, and one-page wiring guides for all supported frameworks.

Requirements

  • Python SDK: Python 3.11+
  • JavaScript SDK: Node 18+ (Python 3.11+ for the bridge layer)
  • A Synap API key: get one at maximem.ai

Resources & community


Contributing

This repo is a published mirror of Maximem's monorepo, so everything under packages/ is overwritten on each sync and pull requests against it are closed. Bug reports, gaps, and new-framework requests are very welcome as issues. See CONTRIBUTING.md for how to run the code locally and what a new integration needs.


License

Apache 2.0. See LICENSE.


Use Synap MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Synap MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Synap MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Synap MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "synap-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Synap MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Synap MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Synap MCP Server to help me with this task?
Synap MCP Server
Sure. I read it.
Here is what I found using Synap MCP Server.

Frequently asked questions

What is the Synap MCP Server MCP server used for?

Synap MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Synap MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Synap MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Synap MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Synap MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Synap MCP Server MCP to TypingMind?

Synap MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Synap MCP Server MCP provide in TypingMind?

Synap MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Synap MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Synap MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇