Mem0 Cloud

A hosted agent-memory API shaped like mem0's REST API (an alternative to running mem0 yourself):...

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
100%
이름 품질
100%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,647토큰 (도구 정의)
~3.6 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.29%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "mem0-cloud": {
      "url": "https://mem0-cloud.saastemly.com/mcp"
    }
  }
}

원격 엔드포인트

https://mem0-cloud.saastemly.com/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (4)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟡add_memory(memory_key, messages, user_id, agent_id, app_id, ...)

Store memories from a conversation, like mem0's add: an AI model extracts durable facts about the user from the messages (or, with infer=false, stores each message as is), embeds them and saves them privately under your memory_key (a secret string you generate; required). Identical facts are stored once. Needs at least one of user_id, agent_id, app_id, run_id. Memories are kept for 365 days. Returns {event_id, status, results:[{id, memory, event: ADD|NONE}]}. Price: $0.008 a call (3 free calls a day without an API key).

입력 스키마

{
  "type": "object",
  "properties": {
    "memory_key": {
      "type": "string",
      "description": "Your secret: a random string of 16-256 characters that you generate once and keep (also accepted as the X-Memory-Key header). Memories are stored and searched only under its hash, so nobody who lacks it can read them, whatever user_id they send. Lose it and the memories are unreachable."
    },
    "messages": {
      "type": "array",
      "description": "Conversation turns, each {role: user|assistant|system, content: string}; up to 6000 bytes as JSON. A plain string is also accepted (one user message).",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "description": "user, assistant or system"
          },
          "content": {
            "type": "string",
            "description": "The message text"
          }
        }
      }
    },
    "user_id": {
      "type": "string",
      "description": "Entity: the user the memories are about (1-128 characters)"
    },
    "agent_id": {
      "type": "string",
      "description": "Entity: the agent the memories belong to (1-128 characters)"
    },
    "app_id": {
      "type": "string",
      "description": "Entity: the app (1-128 characters)"
    },
    "run_id": {
      "type": "string",
      "description": "Entity: the session or run (1-128 characters)"
    },
    "metadata": {
      "type": "object",
      "description": "Custom key/value metadata stored with every memory (up to 2000 bytes as JSON)"
    },
    "infer": {
      "type": "boolean",
      "description": "Default true: extract facts with the model. false: store each message verbatim (up to 10 messages of 300 characters)"
    },
    "expiration_date": {
      "type": "string",
      "description": "Optional YYYY-MM-DD: the memory is hidden from search and listing after that day (unless show_expired is true)"
    },
    "custom_instructions": {
      "type": "string",
      "description": "Optional extra extraction instructions (with includes and excludes, up to 800 bytes together)"
    },
    "includes": {
      "type": "string",
      "description": "Optional: what to focus on when extracting"
    },
    "excludes": {
      "type": "string",
      "description": "Optional: what not to extract"
    }
  },
  "required": [
    "memory_key",
    "messages"
  ]
}
🟢search_memories(memory_key, query, filters, top_k, threshold, ...)

Search your stored memories by meaning, like mem0's search: embeds the query and returns the closest memories with a relevance score from 0 to 1. Only memories stored under the same memory_key (your secret string; required) are searched. filters must name at least one of user_id, agent_id, app_id, run_id. Returns {results:[{id, memory, score, metadata, ...}]}. Price: $0.004 a call (3 free calls a day without an API key).

입력 스키마

{
  "type": "object",
  "properties": {
    "memory_key": {
      "type": "string",
      "description": "Your secret: a random string of 16-256 characters that you generate once and keep (also accepted as the X-Memory-Key header). Memories are stored and searched only under its hash, so nobody who lacks it can read them, whatever user_id they send. Lose it and the memories are unreachable."
    },
    "query": {
      "type": "string",
      "description": "What to look for, in natural language (up to 500 characters)"
    },
    "filters": {
      "type": "object",
      "description": "mem0 filters: at least one of user_id, agent_id, app_id, run_id, each a string, \"*\" or {\"in\": [up to 20 strings]}; AND lists of those. OR and NOT are not supported."
    },
    "top_k": {
      "type": "integer",
      "description": "How many memories to return, 1-100 (default 10)"
    },
    "threshold": {
      "type": "number",
      "description": "Minimum relevance score, 0-1 (default 0.1; 0 disables)"
    },
    "show_expired": {
      "type": "boolean",
      "description": "Include memories whose expiration_date has passed (default false)"
    }
  },
  "required": [
    "memory_key",
    "query",
    "filters"
  ]
}
🟢get_memories(memory_key, memory_id, user_id, agent_id, app_id, ...)

Read your stored memories, like mem0's get memory and get all memories. With memory_id: returns that one memory (404 if it is not yours). Without it: returns a page {count, next, previous, results} of the memories matching user_id, agent_id, app_id or run_id (at least one; "*" matches any value), newest first. Requires your memory_key (a secret string you generate): a different key sees nothing. Price: $0.002 a call (3 free calls a day without an API key).

입력 스키마

{
  "type": "object",
  "properties": {
    "memory_key": {
      "type": "string",
      "description": "Your secret: a random string of 16-256 characters that you generate once and keep (also accepted as the X-Memory-Key header). Memories are stored and searched only under its hash, so nobody who lacks it can read them, whatever user_id they send. Lose it and the memories are unreachable."
    },
    "memory_id": {
      "type": "string",
      "description": "UUID of one memory to fetch; leave out to list memories instead"
    },
    "user_id": {
      "type": "string",
      "description": "Entity: the user the memories are about (1-128 characters)"
    },
    "agent_id": {
      "type": "string",
      "description": "Entity: the agent the memories belong to (1-128 characters)"
    },
    "app_id": {
      "type": "string",
      "description": "Entity: the app (1-128 characters)"
    },
    "run_id": {
      "type": "string",
      "description": "Entity: the session or run (1-128 characters)"
    },
    "page": {
      "type": "integer",
      "description": "Page number, from 1 (default 1)"
    },
    "page_size": {
      "type": "integer",
      "description": "Memories per page, 1-100 (default 50)"
    },
    "show_expired": {
      "type": "boolean",
      "description": "Include memories whose expiration_date has passed (default false)"
    }
  },
  "required": [
    "memory_key"
  ]
}
🔴delete_memories(memory_key, memory_id, user_id, agent_id, app_id, ...)

Delete your stored memories, like mem0's delete memory and delete all memories. With memory_id: deletes that one memory (404 if it is not yours). Without it: deletes up to 200 of your memories matching user_id, agent_id, app_id or run_id (at least one), and says if more remain. Requires your memory_key (a secret string you generate): other keys cannot delete your memories. Price: $0.002 a call (3 free calls a day without an API key).

입력 스키마

{
  "type": "object",
  "properties": {
    "memory_key": {
      "type": "string",
      "description": "Your secret: a random string of 16-256 characters that you generate once and keep (also accepted as the X-Memory-Key header). Memories are stored and searched only under its hash, so nobody who lacks it can read them, whatever user_id they send. Lose it and the memories are unreachable."
    },
    "memory_id": {
      "type": "string",
      "description": "UUID of one memory to delete; leave out to delete by entity instead"
    },
    "user_id": {
      "type": "string",
      "description": "Entity: the user the memories are about (1-128 characters)"
    },
    "agent_id": {
      "type": "string",
      "description": "Entity: the agent the memories belong to (1-128 characters)"
    },
    "app_id": {
      "type": "string",
      "description": "Entity: the app (1-128 characters)"
    },
    "run_id": {
      "type": "string",
      "description": "Entity: the session or run (1-128 characters)"
    }
  },
  "required": [
    "memory_key"
  ]
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 4개