# Mem — MCP server on mcp.ai > Connect your Mem account and use 11 tools for notes straight from your AI agent. Connect with your own API key. Mem is a note-taking and knowledge management application that helps users capture, organize, and retrieve information efficiently. By: mcp.ai · official Page: https://mcp.ai/mem ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_mem?ms=1787296020000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/mem/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/mem/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/mem/skill.md Postman collection (v2.1): https://mcp.ai/mem/postman.json ## Tools - mem_create_collection(id?: string, title: string, created_at?: string, updated_at?: string, description?: string) — Creates a new collection in Mem for organizing and grouping related notes. Collections are containers that help categorize notes by topic, project, or any organizational scheme. Each collection has a - mem_create_note_v2(id?: string, content: string, created_at?: string, updated_at?: string, collection_ids?: string[], collection_titles?: string[]) — Tool to create a new note with markdown content and optional collection associations. The first line of content is automatically interpreted as the title. Use when you need to create a note and option - mem_delete_collection(collection_id: string) — Tool to permanently delete a Mem collection. Deletion is irreversible — only invoke after explicit user confirmation and verification of the correct collection_id. - mem_delete_note(note_id: string) — Tool to permanently delete a specific note. Deletion is irreversible — obtain explicit user confirmation before calling. Use when you need to remove a note by its unique identifier after confirming th - mem_get_collection(collection_id: string) — Retrieve the details of a Mem collection by its UUID. Returns the collection's title, description, and timestamps. Use this when you need to fetch metadata for a specific collection. - mem_list_collections(page?: string, limit?: integer, order_by?: string) — List collections with pagination support. Returns collections sorted by updated_at or created_at. Use this action to retrieve all collections or browse through collections page by page. - mem_list_notes(page?: string, limit?: integer, order_by?: string, collection_id?: string, contains_files?: boolean, contains_tasks?: boolean, contains_images?: boolean, contains_open_tasks?: boolean, include_note_content?: boolean) — Tool to list notes with pagination and filtering options. Supports filtering by collection, task presence, image presence, and file presence. Use when you need to retrieve multiple notes or search for - mem_read_note(note_id: string) — Retrieve the content and metadata of a Mem note by its UUID. Returns the note's title, markdown content, timestamps, and collection membership. Use this when you need to read or display an existing no - mem_save_content(input: string, context?: string, timestamp?: string, instructions?: string) — Tool to process and remember any raw content using AI. Accepts web pages, emails, transcripts, articles, or simple text. Use when you want to save and process content with optional instructions on how - mem_search_collections(query?: string) — Tool to search collections using an optional query string. Use when you need to find or list collections by title or description. - mem_search_notes(limit?: integer, query?: string, config?: object, offset?: integer, snapshot_id?: string, filter_by_collection_ids?: string[], filter_by_contains_files?: boolean, filter_by_contains_tasks?: boolean, filter_by_contains_images?: boolean, filter_by_contains_open_tasks?: boolean) — Tool to search notes in Mem using a query string with optional filtering. Supports filtering by collection IDs, task presence, image presence, and file presence. ## Example prompts - "What can I do in Mem?" - "Show me a summary of my Mem account" ## Links Docs: https://mcp.ai/docs/mcps/mem Website: https://mcp.ai/mcps/mem