neuroloom
Neuroloom is in early access.Start building free →

MCP Integration

The Model Context Protocol (MCP) lets AI assistants call external tools during a conversation. Neuroloom ships an MCP server that exposes memory operations as callable tools — so Claude and other MCP-compatible agents can store and retrieve memories without writing any glue code.

What is MCP?

MCP is an open standard for connecting AI models to external data sources and tools. When an AI assistant supports MCP, it can invoke tools like create_memory or search_memories as part of generating a response.

Learn more at modelcontextprotocol.io.

Prerequisites

  • Python 3.11+
  • A Neuroloom API key with write scope (Authentication)
  • An MCP-compatible client (Claude Desktop, Cursor, Windsurf, etc.)

Installation

pip install neuroloom-mcp

Available MCP Tools

ToolDescription
create_memoryStore a new memory with optional metadata
search_memoriesSemantic search over stored memories
get_memoryRetrieve a specific memory by ID
update_memoryUpdate the content or metadata of a memory
delete_memoryDelete a memory permanently
list_memoriesList memories with optional metadata filters

Configuring Claude Desktop

Open (or create) ~/Library/Application Support/Claude/claude_desktop_config.json and add the Neuroloom server:

{
  "mcpServers": {
    "neuroloom": {
      "command": "python",
      "args": ["-m", "neuroloom_mcp"],
      "env": {
        "NEUROLOOM_API_KEY": "nlk_live_your_key_here",
        "NEUROLOOM_WORKSPACE_ID": "ws_your_workspace_id"
      }
    }
  }
}

Restart Claude Desktop. You should see a hammer icon in the chat input confirming tools are available.

Configuring Other MCP Clients

Most MCP clients follow the same pattern — a command that starts the server process and env for credentials. Refer to your client's documentation for the exact config file location.

{
  "mcpServers": {
    "neuroloom": {
      "command": "uvx",
      "args": ["neuroloom-mcp"],
      "env": {
        "NEUROLOOM_API_KEY": "nlk_live_your_key_here",
        "NEUROLOOM_WORKSPACE_ID": "ws_your_workspace_id"
      }
    }
  }
}

Example Conversation

Once connected, you can instruct Claude to use Neuroloom naturally:

"Remember that the deploy pipeline runs on Fridays at 22:00 UTC."

Claude calls create_memory with that content. Later:

"When does the deploy pipeline run?"

Claude calls search_memories with the query, retrieves the stored memory, and answers accurately.

Environment Variables

VariableRequiredDescription
NEUROLOOM_API_KEYYesYour API key
NEUROLOOM_WORKSPACE_IDYesTarget workspace
NEUROLOOM_API_BASE_URLNoOverride for self-hosted or staging

Troubleshooting

Tools not appearing in Claude Desktop Verify the config file path and JSON syntax. Restart Claude Desktop fully (not just the window).

401 Unauthorized errors Check that NEUROLOOM_API_KEY is set correctly and the key has write scope.

404 Not Found on workspace Confirm NEUROLOOM_WORKSPACE_ID matches a workspace your key can access.

Next Steps

Ready to get started?

Start building with Neuroloom for free.

Start Building Free