Search iMessage with AI on Mac

Let your AI assistant search iMessage conversations on your Mac by content, sender, or date range. Runs locally, no cloud, no API keys. Free macOS MCP server.

L
LMCP··5 min read

The search_messages tool lets your AI assistant search your iMessage conversations directly on your Mac — by message content, sender name, or a date range. Instead of scrolling endlessly through the Messages app, you just ask in plain language. For example, you can type: "Search my messages for the Airbnb confirmation code Sarah sent me last month." The AI runs the search against your real Messages database and hands back the matching texts, who sent them, and when.

Because it's read-only, search_messages never sends or deletes anything — it only finds and reads. It's part of LMCP, a free, native macOS MCP server with 150+ tools that connect AI assistants to your real Mac apps locally. Download LMCP to get started.

Which AI agents work?

LMCP works with every major AI client. Desktop apps auto-configure over local stdio — no manual setup:

  • Claude Desktop
  • Cursor
  • VS Code (GitHub Copilot)
  • Windsurf
  • Zed

Web-based AIs connect through the LMCP Cloud Relay connector:

  • ChatGPT
  • Claude.ai (web)
  • Grok
  • Perplexity

Automation

The real power comes from chaining search_messages with other LMCP tools. The AI can search your iMessages for a flight number, then create a calendar event for the trip. It can find a message where a contact shared their email, then draft a follow-up in Mail. Or it can pull every text about a project deadline and turn them into reminders. One natural-language request, multiple Mac apps working together.

Context

Unlike a generic chatbot, your AI is working with your real iMessage history — the actual conversations on your Mac. When you ask "What did my landlord say about the lease renewal?", it searches your genuine messages, not a guess. That grounding in your own data is what makes the answers accurate and personally useful.

Productivity

Finding one specific text buried in months of conversation is a known time sink — you remember roughly who and when, but not enough to scroll to it. With search_messages, a query like "find the address my brother texted me for the wedding" returns the answer in seconds. Multiply that across confirmation codes, shared links, addresses, and old commitments, and it saves real minutes every day while keeping you in your AI workflow instead of app-switching.

Privacy & GDPR

Everything runs locally on your Mac. search_messages reads your Messages database on-device and returns results straight to your AI client — no copy is uploaded to a server, nothing is stored in the cloud, and no API keys are required. Your conversations never leave your machine. This local-first design makes LMCP GDPR-compliant by architecture: there's simply no third-party server holding your data.

Ready to try it?

Works with Claude, Cursor, VS Code, ChatGPT and any MCP client

Download LMCP (.dmg)
FreemacOS 12+ · Apple Silicon & Intel

✦ llms.txt