Catalog npm
PACKAGE EXPLORERView in registry

@0xlimao/memos-mcp-server

npm

MCP server for Memos - a privacy-focused note-taking application

aiclaudemcpmemosmodel-context-protocolnotes
Versions collected2
Direct dependencies9From release 0.1.1
Last observed21 Oct, 09:04 UTC

README

Current package documentation

Memos MCP Server

A Model Context Protocol (MCP) server for Memos, enabling AI assistants to interact with your Memos instances.

Features

  • 🔗 Multi-Instance Support: Connect to multiple Memos instances and query them individually or collectively
  • 📝 Note Management: Create, read, update, and delete memos with full Markdown support
  • 🏷️ Tag Management: List and manage tags across your memos
  • 📎 Attachment Support: Upload and manage file attachments
  • 🔖 Shortcuts: Create and manage saved filters
  • 🔒 Secure Storage: API keys are stored locally in your configuration directory
  • 🎚️ Tiered Tool Exposure: Control which tools are enabled to minimize context usage

Usage

With Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "memos": {
      "command": "npx",
      "args": ["-y", "@0xlimao/memos-mcp-server"]
    }
  }
}

Tool Tiers

The server supports three tiers of tools to minimize context usage:

TierFlagDescription
Tier 1(default)Core note-taking tools
Tier 2--user-toolsUser advanced features (PAT, webhooks)
Tier 3--admin-toolsInstance administration
All--full-toolsAll tools enabled

Example configurations:

// Default: Only note-taking tools
{
  "command": "npx",
  "args": ["-y", "@0xlimao/memos-mcp-server"]
}

// With user advanced tools
{
  "command": "npx",
  "args": ["-y", "@0xlimao/memos-mcp-server", "--user-tools"]
}

// With admin tools
{
  "command": "npx",
  "args": ["-y", "@0xlimao/memos-mcp-server", "--admin-tools"]
}

// All tools
{
  "command": "npx",
  "args": ["-y", "@0xlimao/memos-mcp-server", "--full-tools"]
}

Configuration File Location

Instance configurations are stored at:

  • macOS/Linux: ~/.config/memos-mcp/instances.json
  • Windows: %APPDATA%\memos-mcp\instances.json

Available Tools

Tier 1: Core Tools (Default)

ToolDescription
connect_instanceConnect to a new Memos instance
disconnect_instanceRemove a connected instance
list_instancesList all connected instances
list_memosList memos with optional filtering
get_memoGet a specific memo by ID
create_memoCreate a new memo
update_memoUpdate an existing memo
delete_memoDelete a memo
list_tagsList all tags
list_shortcutsList saved shortcuts
create_shortcutCreate a new shortcut
update_shortcutUpdate a shortcut
delete_shortcutDelete a shortcut
list_attachmentsList attachments
upload_attachmentUpload a new attachment
delete_attachmentDelete an attachment

Tier 2: User Advanced Tools (--user-tools)

ToolDescription
list_personal_access_tokensList PATs for a user
create_personal_access_tokenCreate a new PAT
delete_personal_access_tokenDelete a PAT
list_webhooksList webhooks for a user
create_webhookCreate a new webhook
update_webhookUpdate a webhook
delete_webhookDelete a webhook
get_user_settingGet user settings
update_user_settingUpdate user settings
list_user_settingsList all user settings
list_notificationsList user notifications
update_notificationUpdate a notification
delete_notificationDelete a notification

Tier 3: Admin Tools (--admin-tools)

ToolDescription
list_usersList all users
get_userGet a specific user by ID or username
create_userCreate a new user
update_userUpdate a user
delete_userDelete a user
get_instance_profileGet instance information
get_instance_settingGet instance settings
update_instance_settingUpdate instance settings
list_activitiesList activities
get_activityGet a specific activity

Examples

Connecting to a Memos Instance

"Connect to my Memos instance at https://memos.example.com with the API key abc123"

The AI will use the connect_instance tool to save the connection:

  • Host: https://memos.example.com
  • Name: A friendly name (e.g., personal, work)
  • API Key: Your access token from Memos → Settings → My Account → Access Tokens

Searching Across All Instances

"Find all memos containing 'project ideas' in all my memos instances"

The server will query all connected instances and return matching results.

Querying a Specific Instance

"Create a new memo in my work-memos instance about the meeting today"

The server will create the memo only in the specified instance.

Using Filters

"List all archived memos with the #important tag"

The server supports CEL filter expressions for advanced queries.

Development

# Clone the repository
git clone https://github.com/flyinglimao/mcp-server-memos.git
cd mcp-server-memos

# Install dependencies
pnpm install

# Run in development mode
pnpm run dev

# Run tests
pnpm test

# Lint code
pnpm run lint

# Format code
pnpm run format

License

MIT License - see LICENSE for details.

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 2

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.1Registry latest5 Jan 20269
0.1.05 Jan 20269

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
flyinglimao/mcp-server-memos

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:04 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ac8e1b24a90b556f7719fefe005370c6233792be9356e5fb997e56a7dfc5de41