Messenger + Claude Code integration
Connect Messenger to Claude Code
ConnectChats brings your Messenger chats into Claude Code. Ask Claude Code to catch you up, find any message and draft replies. Nothing gets sent until you approve it.
Free to start. No app to install. Every send needs your OK.
What Claude Code can do with your Messenger
ConnectChats gives Claude Code a small set of tools. Claude Code calls them when you ask about your Messenger chats, and only for the chats you share.
-
Catch you up
Ask what you missed and Claude Code reads your unread Messenger chats, then gives you the short version: who needs an answer, what was decided, what can wait.
get_messages_to_summarize -
Find any message
The address someone sent last month, the price a client agreed to, the link from a group chat. Claude Code searches your Messenger history and quotes the message.
search_messages -
Draft replies
Claude Code writes the reply in your tone, in the chat's language, with the context of the whole thread. You read it, edit it, and send it.
draft_reply -
Send with your OK
When you approve a draft, ConnectChats sends it from your own Messenger account and confirms delivery. Auto-send only runs in chats where you switch it on.
send_message
Things to ask Claude Code
Type these in Claude Code once Messenger is linked.
- Claude Code
What did I miss in my Messenger chats today?
- Claude Code
Summarize the family group on Messenger since Friday.
- Claude Code
Who asked me a question on Messenger that I haven't answered?
- Claude Code
Find the address my sister sent me on Messenger.
- Claude Code
Draft a reply to Alex on Messenger saying I can make it Saturday.
How to connect Messenger to Claude Code
It takes about two minutes. You do it once, and the same account then works in every AI app you add.
-
Add ConnectChats to Claude Code
- In your terminal, run: claude mcp add --transport http --scope user connectchats https://api.connectchats.com/mcp
- Start Claude Code and type /mcp.
- Select connectchats and choose to authenticate. Your browser opens the ConnectChats sign-in page. Sign in with your passkey.
- Ask Claude Code about your messages, for example to summarize a group chat.
-
Link your Messenger account
- Open https://connectchats.com/app and choose Link a chat app, then Messenger.
- Sign in with your Facebook account on Meta's sign-in page.
- If you use two-factor authentication, confirm the sign-in on your phone.
- Your chats appear in the dashboard, where you choose which ones your AI app can see.
-
Pick the chats Claude Code can see
Every chat is listed in your ConnectChats dashboard. Share all of them or only the ones you choose. Claude Code never sees the rest.
-
Ask Claude Code about your Messenger
Open a new conversation in Claude Code and ask about your chats. Claude Code calls ConnectChats when it needs your messages.
How Messenger and Claude Code work together
ConnectChats links to Messenger when you sign in with your Facebook account through Meta's sign-in page. Your AI app sees the Messenger chats you choose to share.
-
Messenger in ConnectChats
One to one chats and group chats are supported. Messenger encrypts personal chats by default. End-to-end encrypted chats may not all come through, because only your own devices hold their keys. Each linked chat starts with its last 200 messages, then every new message arrives as it is sent. Photos, videos and voice notes show up as short text descriptions, with their captions.
-
ConnectChats in Claude Code
Claude Code adds remote MCP servers with one command. Add ConnectChats, sign in once with your passkey, and you can ask Claude Code about your chats without leaving the terminal. The --scope user option makes ConnectChats available in every project. Leave it out to add it to the current project only. Claude Code needs a Claude Pro, Max, Team or Enterprise plan, or an Anthropic Console account. Tokens refresh on their own. To sign out, open /mcp and choose Clear authentication, or run claude mcp logout connectchats. Sign in once in an interactive session. Scripts and headless runs reuse the saved sign-in but cannot complete it.
Your Messenger stays under your control
-
You pick the chats
Claude Code only sees the Messenger chats you share. Unshare a chat and it disappears from every AI app at once.
-
Drafts by default
Claude Code prepares replies. You approve each one before it reaches Messenger, unless you turn on auto-send for that chat.
-
Stored messages are encrypted
Stored messages are encrypted with a key that only your passkey can unlock. We never train models on your messages.
Questions
Can Claude Code read my Messenger messages?
Yes, once you link Messenger in ConnectChats and add ConnectChats to Claude Code. Claude Code reads only the chats you share, and only when you ask it something that needs them.
Can Claude Code send Messenger messages for me?
Claude Code can draft a reply and send it after you approve it. Messages go out from your own Messenger account. You can allow automatic sending for specific chats, and it stays off everywhere else.
Is the Messenger to Claude Code integration free?
Yes. The free plan links two chat apps and works in every supported AI app, with no limit on what you ask. No card needed.
Do I need to install anything?
No. You add ConnectChats inside Claude Code and link Messenger from your browser. There is no app to download and nothing runs on your computer.
Does it work with other AI apps too?
Yes. The same ConnectChats account works in ChatGPT, Claude, Grok, Manus, Muse and any AI app that supports remote MCP servers. Link Messenger once and use it everywhere.
Do Instagram DMs come with Messenger?
Instagram is a separate chat app in ConnectChats with its own sign-in, even though Meta lets the two message each other.
What do I need to link Messenger?
Your Facebook account. If you use two-factor authentication, keep your phone nearby to confirm the sign-in.
Can I share the setup with my team through .mcp.json?
Yes, with --scope project the server goes into .mcp.json in the repository. Each person still signs in with their own passkey and sees only their own chats.
Does Claude Code see my chats in every session?
Only when it calls a ConnectChats tool, which it does when you ask about your messages. It reads only the chats you share.
Related pages
Messenger with other AI apps
Other chat apps in Claude Code
Stop switching apps. Ask your AI instead.
Add ConnectChats in one click. Your first two chat apps are free.
Get started free