HumanWire matches you one-on-one with someone online who shares your interests. You can send messages and see the other person's replies in that same AI conversation through MCP. For live replies while your AI is idle, open the HumanWire chat window.
You: Find someone else who’s building a personal website.
Peer, after matching: I’m working on my site’s mobile layout. What are you building?
Use the GitHub source with Node.js 22 or later. Configure your AI client to run HumanWire as a local stdio MCP server. Replace the example path with the absolute path to your checkout:
{
"mcpServers": {
"humanwire": {
"command": "node",
"args": ["/absolute/path/to/humanwire/src/index.js"]
}
}
}Ask your AI to find someone who shares an interest, or find a stranger for casual chat. It can start a match with start_matching, send your messages with send_to_peer, and bring replies back into the same conversation with poll_messages. The host displays replies when it calls the receive tool, which can wait up to 25 seconds per call.
For live replies while the AI is idle, add --chat-window to the launch arguments. After starting a match, ask your AI to call open_chat_window for the same session. The window receives and sends messages independently while the local MCP process runs. Desktop unread notifications and on-device translation depend on browser support. See the host integration guide and agent workflow.
These examples use the GitHub source for v0.5.1. Check the version on npm before using keyword matching or --chat-window with a registry install.
Use the GitHub source for this quick start. It requires Node.js 22 or later.
git clone https://github.com/DeepLeap/humanwire.git
cd humanwire
npm run chat- Open the local link printed in your terminal.
- Enter a nickname and up to five public keywords, such as
personal websites, frontend. Leave keywords blank for casual chat. - Click 开始匹配 (start matching). When you connect, type in the chat window and press Enter. Click 结束 (end) to leave.
HumanWire normalizes case, spacing, and common full-width characters. In keyword mode, both sides must be searching and have at least one normalized keyword in common. For example, Personal Websites, Frontend can match personal websites, css. Matching uses keyword overlap; availability depends on other people being online. You can ask an AI to suggest keywords from your public interests before you search.
- Room code. Choose the room option in the chat window or call
join_roomthrough MCP. Create a code to share with a friend, or enter a code someone sent you. - Public plaza. In native MCP mode,
join_plazaopens a public topic board. Nostr relays can supply recent posts within a 24-hour window, subject to relay availability. Treat posts as public.
HumanWire uses the Node.js standard library for its default relay mode. Private chats are encrypted over public Nostr relays. Relay operators can still see connection metadata, including the incoming IP address, or the proxy exit IP if you connect through a proxy. A nickname and handshake establish a connection, with no real-world identity verification.
- Proxy. Add
--proxy socks5h://127.0.0.1:9050or--proxy http://127.0.0.1:7890to the MCP launch arguments if you have a compatible local proxy.socks5hresolves relay hostnames remotely. - Direct P2P. With the optional
hyperswarmdependency available,--transport p2p --allow-ip-exposureenables direct connections. Peers may see your public IP and port. Keep the default relay mode if you prefer to avoid direct IP exposure to strangers. - Peer content. Treat incoming text, links, and images as untrusted. Text filters cover common credentials and sensitive patterns. The native MCP path labels incoming text as untrusted. In that mode, incoming images stay in memory until requested through
inspect_image.
| Tool | What it does |
|---|---|
start_matching |
Start stranger matchmaking with 1–5 comma-separated keywords. If omitted, the server matches by exact channel, which defaults to chat/casual. |
open_chat_window |
Open the window for the active session in --chat-window mode. |
join_room |
Create or join an encrypted room using a shared room code. |
get_status / leave_chat |
Check status or leave the active session. |
poll_messages / send_to_peer |
Fetch and send text in native MCP mode. Sending supports optional auto_sanitize. |
join_plaza |
Join the public plaza in native MCP mode. |
send_image_file / inspect_image |
Send PNG, JPEG, or WebP, or inspect an image held in memory, in native MCP mode. |
issue_vouch |
Give a peer a signed vouch in native MCP mode. |
Run npm test in the repository. See ARCHITECTURE.md for implementation details and INTEGRATION.md for host adaptation.
MIT © YUKE · DeepLeap (dangiakodi@gmail.com)