TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: WhatsApp MCP Server

229 点作者 lharries大约 2 个月前
Hi HN – I built an open-source, self-hosted Model Context Protocol (MCP) server for WhatsApp: <a href="https:&#x2F;&#x2F;github.com&#x2F;lharries&#x2F;whatsapp-mcp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lharries&#x2F;whatsapp-mcp</a><p>It connects to your personal WhatsApp account via the WhatsApp Web multi-device API (using whatsmeow from the Beeper team), and doesn&#x27;t rely on third-party APIs. All messages are stored locally in SQLite. Nothing is sent to the cloud unless you explicitly allow your LLM to access the data via tools – so you maintain full control and privacy.<p>The MCP server can:<p>- Search your messages, contacts, and groups<p>- Send WhatsApp messages to individuals or groups<p>Why build this?<p>99% of your life is stored in WhatsApp, by connecting an LLM to WhatsApp you get all this context. And your AI agent can execute tasks on your behalf by sending messages.

25 条评论

nzach大约 2 个月前
There is any reason why you choose to build a Python wrapper for a Golang binary?<p>I&#x27;ve been playing around with mcp-go[0] and it seems pretty good.<p>[0] - <a href="https:&#x2F;&#x2F;github.com&#x2F;mark3labs&#x2F;mcp-go" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mark3labs&#x2F;mcp-go</a>
评论 #43534257 未加载
oulipo大约 2 个月前
BTW is there a good &quot;WhatsApp API SaaS&quot; open-source server? There&#x27;s Waha <a href="https:&#x2F;&#x2F;github.com&#x2F;devlikeapro&#x2F;waha" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;devlikeapro&#x2F;waha</a> which is nice, but unfortunately they don&#x27;t offer &quot;safety features&quot; in the open-source version to lock the access<p>I guess it&#x27;s solvable with Tailscale though
MatiasPerez大约 1 个月前
I just use vambe.ai, 14 days free trial too
gabll大约 2 个月前
I don’t know if whatsmeow was intended for this use case: imagine a LLM performing multiple calls in a short period of time, could you risk to have your whatsapp account blocked by Meta?
评论 #43533679 未加载
评论 #43534305 未加载
rndmio大约 2 个月前
The why is because we can, but damn am I finding the tools being built with, or having tacked on, AI depressing. Is this a small glimpse of the future we&#x27;re building for ourselves? Communication is valuable because thought and effort went into it, lowering the bar on producing content doesn&#x27;t mean more choice, it means lower quality. Already I see a reaction against this amongst some peers when they find out something they were asked to review was AI generated, why should they put effort in if the other person didn&#x27;t.
评论 #43533583 未加载
andrewmi大约 2 个月前
Looks interesting. It would be nice to see something like this for all the communication methods in Beeper unified together. That way all communication is covered rather then just 1 app of many.
评论 #43539914 未加载
saberience大约 2 个月前
I think this is like the 7th or 8th WhatsApp MCP implementation.<p>I really have zero understanding why people think this is something crazy. It’s not. It’s importing the official MCP packages and wrapping basic API methods with an MCP tool decorator.<p>You can even ask Claude or ChatGPT to make your MCP tools for you and they will write this same code in 1 minute.<p>I can’t wait until the community realizes that MCP servers are literally just regular methods with a one line decorator and these posts just get downvoted for being incredibly low effort.<p>It’s basically the same as upvoting someone saying “hey guys, I wrote a method which connects to the WhatsApp API”, that’s it, really.
评论 #43535197 未加载
评论 #43542466 未加载
评论 #43533693 未加载
评论 #43533423 未加载
samastur大约 2 个月前
Cool work, but I&#x27;m more fascinated by your claim &quot;99% of your life is stored in WhatsApp...&quot;.<p>Not even remotely true for me even if it would encompass all messaging apps I use. I guess I&#x27;m just an old introvert, but it makes me wonder how life looks like for those for whom it is true.
评论 #43533417 未加载
评论 #43535148 未加载
评论 #43533997 未加载
评论 #43533786 未加载
评论 #43543368 未加载
评论 #43534353 未加载
评论 #43534706 未加载
评论 #43533936 未加载
thegreathir大约 2 个月前
If this thing is connected to someone&#x27;s WA and I ask &quot;Who is your girlfriend?&quot;, the AI theoretically could list all the chats, read some messages in each chat, determine who could be the partner and return the name to me :)) I can go ahead and ask &quot;What was the last fight about&quot;.
lbeurerkellner大约 2 个月前
Please be aware that MCP has severe security risks associated: <a href="https:&#x2F;&#x2F;invariantlabs.ai&#x2F;blog&#x2F;mcp-security-notification-tool-poisoning-attacks" rel="nofollow">https:&#x2F;&#x2F;invariantlabs.ai&#x2F;blog&#x2F;mcp-security-notification-tool...</a>.
linux_devil大约 2 个月前
I am not sure about how other Whatsapp MCP servers build , but I like the design here : Go server to integrate with Whatsapp , scan the QR etc which acts like a bridge and lightsql to store some data APP MCP server : To interact with the data , app and LLM
Mystery-Machine大约 2 个月前
Thank you! I live in Latin America and here WhatsApp group chats are through the roof. I easily receive several hundreds of messages across various group chats. It&#x27;s not possible nor healthy to read every single message. It would be great if the tool could summarize all the unread messages from the given group chat. I played around a bit with the MCP server and it was having problems to even get the correct group chat. The group chat name could be stored together with the ID in SQLite and, if matched, it should immediately query for messages from that group chat, skipping the need to listing chats and trying to find the correct group chat and, worst of all, failing.
ofirtwo大约 2 个月前
Why was Go necessary here? couldn&#x27;t it just be a whole-python project?
评论 #43534270 未加载
sunshine-o大约 2 个月前
By the way, I was just searching for a way not to have the WhatsApp app on my phone while limiting the risk of third party software and&#x2F;or have my number banned.<p>Is there a way to login on WhatsApp Web on a server and then proxy or scrape the messages to send them to my phone?
sharmasachin98大约 2 个月前
Really cool project, the privacy-first angle and self-hosted design are a huge plus. Curious: have you run into any rate limits or session issues with the whatsmeow API, especially when used continuously by agents?
tobyhinloopen大约 2 个月前
This is incredibly cool, thank you
ocBuilder大约 2 个月前
what I&#x27;m most shocked about is that people choose whatsapp and the like for &quot;end to end encryption&quot; then open a window to small companies like OpenAI and Anthropic.
siva7大约 2 个月前
So lovely. Thanks. Now i can answer all my friends and spouse immediately instead of ghosting them for days.
esafak大约 2 个月前
Is it possible to augment WhatsApp&#x27;s SQLite installation with an extension?
hansmayer大约 2 个月前
&gt; 99% of your life is stored in WhatsApp<p>That&#x27;s quite a presumption to make.
评论 #43533758 未加载
echoangle大约 2 个月前
As others have already said, think about what you&#x27;re doing when you use this.<p>If you connect a not-selhosted LLM to this, you&#x27;re effectively uploading chat message with other people to a third-party server. The people you chat with have an expectation of privacy so this would probably be illegal in many jurisdictions.
评论 #43536807 未加载
评论 #43535534 未加载
评论 #43534745 未加载
评论 #43534777 未加载
评论 #43534349 未加载
ahstilde大约 2 个月前
could i use this to create groupchat summaries?
评论 #43536036 未加载
deutschepost大约 2 个月前
It is crazy how out of touch people on this platform can be. I live in Europe but have been to Asia and South America. People use WhatsApp everywhere. Just because you live in North America where everyone uses SMS&#x2F;iMessage&#x2F;whatever doesn&#x27;t mean everyone does. I can remember my parents scolding me because they got charged for me receiving some SMS. WhatsApp was a gamechanger. You could send messages or pictures without having to think about the price of it (While being connected to a WLAN...). So at some point no one used SMS anymore. iMessage was out of the question also, because only a very small amount of people had iPhones. And everyone was scared of sending a Message because you wouldn&#x27;t know if the Message would cost you or not. But everyone had WhatsApp.<p>For some people it is a requirement to have a social life. It is not your choice to use it or not. Network effects are taking care of that. If you think Signal or whatever is a better choice, good on you. But if you don&#x27;t want to cut ties with some of your friends, prepare to use multiple apps. Including WhatsApp.
评论 #43535432 未加载
评论 #43535190 未加载
评论 #43539737 未加载
_def大约 2 个月前
If I find out someone pipes my chat messages into a LLM, I will not converse with that person anymore.
评论 #43533497 未加载
评论 #43533444 未加载
评论 #43533609 未加载
评论 #43533759 未加载
评论 #43533541 未加载
评论 #43534053 未加载
评论 #43533741 未加载
评论 #43535682 未加载
评论 #43533743 未加载
评论 #43533788 未加载
master-lincoln大约 2 个月前
If 99% of your life is stored at one of the biggest advertising companies in the world you already gave up on privacy anyway...
评论 #43534153 未加载
评论 #43536857 未加载
评论 #43534362 未加载
评论 #43534062 未加载