Repository avatar
Communication
v1.1.0
active

hinge-mcp

io.github.f0rr0/hinge-mcp

Unofficial local Hinge MCP server with SMS sign-in, matches, and messaging.

Documentation

Hinge MCP

Read your Hinge profile, likes, matches, and chats from a local AI client. Draft replies and send them on request. This is an unofficial integration.

Hinge MCP on Glama

Hinge MCP demo in Claude Desktop at 1.5× speed. Sign in, view likes and matches, and send an opener.

Install and connect

Claude Desktop on macOS

Download hinge-mcp.mcpb. In Claude Desktop, go to Settings → Desktop app → Extensions → Manage → Advanced settings and choose Install Extension. Select the downloaded file, then ask Claude “Sign in to Hinge.” The extension includes the server for Apple Silicon and Intel Macs. Claude Desktop extension guide

npm install on macOS or Linux

Use Bun 1.4.4 or later. Install Bun

npm install -g hinge-mcp
hinge-mcp setup

setup registers Hinge with the local clients it detects. Restart your client after setup. For a single client, run one of these commands.

ClientCommand
ChatGPT Desktop, Codex CLI, or Codex IDE extensionhinge-mcp setup codex
Claude Desktophinge-mcp setup claude-desktop
Claude Codehinge-mcp setup claude-code

setup also installs the Hinge skill for Codex and Claude Code. In Claude Desktop, add the ZIP that setup prints under Plugins → Add → Upload plugin.

For another local MCP client, run hinge-mcp setup --print and use its command and arguments. Use the desktop app to connect locally in ChatGPT. ChatGPT MCP setup

Use Hinge in your client

Ask “Sign in to Hinge” and provide your phone number with its country code. Enter the SMS code when asked. Hinge may also ask for an email code.

Try “Show my incoming likes and matches” or “Draft an opener for my latest match.” When you’re happy with a draft, tell your client to send it to that match. The server rechecks the conversation before sending.

If a send is interrupted, check the chat in Hinge before using hinge-mcp reconcile SEND_ID. To sign in without entering codes in chat, use hinge-mcp login in your terminal. Pass the same custom --session or --state-dir paths to setup and any terminal commands.

TypeScript SDK

hinge-sdk is the supported TypeScript client and runs on Node.js 22+ and Bun.

npm install hinge-sdk

Use the private session saved by Hinge MCP sign-in, or call signInWithSms with your own SMS and email code prompts.

import { homedir } from "node:os";
import { join } from "node:path";
import { HingeClient, loadSession } from "hinge-sdk";

const session = await loadSession(join(homedir(), ".config", "hinge-mcp", "session.json"));
const hinge = new HingeClient({ session });

try {
  const { data } = await hinge.read("listConnections");
  console.log(data.connections.length);
} finally {
  hinge.close();
}

Use hinge.chat for chat operations. SDK writes require confirm: true. The OpenAPI contract is also available as hinge-sdk/openapi.json. SDK API reference

Contributing · MIT or Apache-2.0

NPM
hinge-mcp
Install Command
npm install hinge-mcp
Runtime: bunx
MCPB
https://github.com/f0rr0/hinge-mcp/releases/download/npm-v1.1.0/hinge-mcp.mcpb
Install Command
# mcpb: https://github.com/f0rr0/hinge-mcp/releases/download/npm-v1.1.0/hinge-mcp.mcpb