| title | Examples |
|---|---|
| icon | code |
| description | Example prompts and integrations with the Omi MCP server |
Once connected, try these prompts with your AI assistant:
``` "What do you know about my work projects?" "Find conversations where I discussed travel plans" "Search my memories for anything about fitness goals" "What did I talk about last Tuesday?" ``` ``` "Remember that I prefer morning meetings before 10am" "Update my memory about my favorite restaurant — it's now Sushi Nakazawa" "Delete the memory about my old phone number" "What are all my memories in the 'work' category?" ``` ``` "Summarize my conversations from this week" "Find the conversation where I brainstormed app ideas" "What topics come up most in my recent conversations?" "Show me the full transcript of my last meeting" ```Build chains with Omi data Create AI agents using Omi Programmatic LLM pipelines
This programmatic example uses the manual MCP-key fallback because the adapter receives
static headers. Create an omi_mcp_... key as described in the Setup guide
and load it from a secret store or environment variable in production.
import asyncio
import os
from langchain_mcp_adapters.client import MultiServerMCPClient
async def main():
async with MultiServerMCPClient({
"omi": {
"url": "https://api.omi.me/v1/mcp/sse",
"transport": "streamable_http",
"headers": {"Authorization": f"Bearer {os.environ['OMI_MCP_API_KEY']}"},
}
}) as client:
tools = client.get_tools()
# Search memories
result = await client.call_tool("omi", "search_memories", {
"query": "morning routine",
"limit": 5,
})
print(result)
if __name__ == "__main__":
asyncio.run(main())