Tool definition

{
  name: "search_conversations",
  description: "Search through ChatGPT conversations using natural language queries. Only works if conversations have been uploaded via the Memory Protocol dashboard.",
  inputSchema: {
    query: string 
  }
}

Prerequisites

This tool only works if you have uploaded your ChatGPT conversations to Memory Protocol. To upload your conversations:

  1. Export your ChatGPT conversations as conversations.json from ChatGPT
  2. Visit https://app.memoryproto.co/mcp/chatgpt
  3. Upload your conversations.json file
  4. Once uploaded, you can search through your conversations using this tool

Example Response

{
  "content": [
    {
      "type": "text",
      "text": `{"messages":[{"id":456,"nodeId":"msg_abc123","conversationId":"conv_memory101","role":"user","content":"What is Memory protocol?","distance":0.05,"similarity":0.95},{"id":457,"nodeId":"msg_def456","conversationId":"conv_memory101","role":"assistant","content":"Memory connects the moments, accounts, and actions that make you you—across platforms, across time. It's your digital story, finally able to move with you.","distance":0.08,"similarity":0.92}],"conversations":[{"id":"conv_memory101","title":"Understanding Memory Protocol","messageCount":2,"firstMessagePreview":"What is Memory protocol?","lastMessagePreview":"Memory connects the moments, accounts, and actions that make you you—across platforms, across time. It's your digital story, finally able to move with you.","userId":42}],"query":"what is memory protocol","totalMessages":2,"conversationsFound":1}`
    }
  ]
}