Memos Python

v1.0.0Knowledge & Memorystable

A Python package enabling LLM models to interact with the Memos server via the MCP interface for searching, creating, retrieving, and managing memos.

mcpmcp-servermcp-serversmemosmodel-context-protocol
Share:
21
Stars
0
Downloads
0
Weekly
0/5

What is Memos Python?

Memos Python is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to python package enabling llm models to interact with the memos server via the mcp interface for searching, creating, retrieving, and managing memos.

A Python package enabling LLM models to interact with the Memos server via the MCP interface for searching, creating, retrieving, and managing memos.

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Python package enabling LLM models to interact with the Me

Use Cases

Interact with Memos servers via MCP for note management.
Search, create, and manage memos through AI-powered Python integration.
RyoJerryYu

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedFeb 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx memos-py

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Memos Python

MCP Server Memos (Python) is a Python package that lets LLM models interact with a self-hosted Memos server through the Model Context Protocol. It exposes four tools — search_memo, create_memo, get_memo, and list_memo_tags — so AI assistants can search your notes by keyword, create new memos with configurable visibility (PUBLIC, PROTECTED, or PRIVATE), retrieve a specific memo by ID, and list all your tags. This is useful for anyone running a Memos instance who wants their AI assistant to act as a note-taking and retrieval layer.

Prerequisites

  • A running Memos server (self-hosted at any URL, default port 8080 or 5230)
  • A Memos access token (generated in Memos Settings → Access Tokens)
  • Python 3.10 or higher, or uv/uvx installed for running the package
  • An MCP-compatible client such as Claude Desktop or Claude Code
1

Set up your Memos server

You need a running Memos instance. If you do not have one, deploy it with Docker. The server must be accessible from the machine running this MCP server.

docker run -d --name memos -p 5230:5230 neosmemo/memos:stable
2

Generate a Memos access token

Log in to your Memos web UI, go to Settings → Access Tokens, and create a new token. Copy the token value — you will pass it as the --token argument.

3

Install the MCP server package

Install mcp-server-memos from PyPI using pip or uv. Using uvx lets you run it without a permanent install.

pip install mcp-server-memos
# or run directly without installing:
uvx --prerelease=allow mcp-server-memos --host localhost --port 5230 --token YOUR_ACCESS_TOKEN
4

Add the server to your MCP client config

Register the server in your MCP client configuration, providing your Memos host, port, and access token as command-line arguments.

5

Test by searching your memos

Ask your AI client to search your memos to verify the connection. The search_memo tool accepts a keyword and returns matching memos.

Memos Python Examples

Client configuration

Add this to your MCP client config. Replace the host, port, and token values with your actual Memos server details.

{
  "mcpServers": {
    "memos": {
      "command": "uvx",
      "args": [
        "--prerelease=allow",
        "mcp-server-memos",
        "--host", "localhost",
        "--port", "5230",
        "--token", "your-access-token-here"
      ]
    }
  }
}

Prompts to try

Use your AI assistant to search, create, and retrieve memos from your Memos server.

- "Search my memos for notes about project deadlines."
- "Create a private memo: 'Remember to review the Q3 budget on Friday.'"
- "Get the memo with ID memos/42 and summarize it."
- "List all my memo tags and tell me which ones I use most."
- "Create a public memo with my weekly meeting notes."

Troubleshooting Memos Python

Connection refused when the server starts

Verify your Memos server is running and accessible at the host and port you specified. Run curl http://localhost:5230/api/v1/memos to test connectivity before starting the MCP server.

Authentication errors (401 Unauthorized)

Your access token may be expired or incorrect. Generate a new token in Memos Settings → Access Tokens and update the --token argument in your MCP client config.

'mcp-server-memos' not found when using uvx

Add the --prerelease=allow flag as shown in the config example: uvx --prerelease=allow mcp-server-memos. Alternatively install with pip install mcp-server-memos and run using the mcp-server-memos command directly.

Frequently Asked Questions about Memos Python

What is Memos Python?

Memos Python is a Model Context Protocol (MCP) server that python package enabling llm models to interact with the memos server via the mcp interface for searching, creating, retrieving, and managing memos. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Memos Python?

Follow the installation instructions on the Memos Python GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Memos Python?

Memos Python works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Memos Python free to use?

Yes, Memos Python is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "memos-py": { "command": "npx", "args": ["-y", "memos-py"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Memos Python?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides