Skip to main content
Glama
Hinge MCP

Hinge MCP

README.md
# 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 demo in Claude Desktop at 1.5× speed. Sign in, view likes and matches, and send an opener.](docs/claude-demo.gif)

## Install and connect

### Claude Desktop on macOS

Download [hinge-mcp.mcpb](https://github.com/f0rr0/hinge-mcp/releases/latest/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](https://support.claude.com/en/articles/10949351-getting-started-with-local-mcp-servers-on-claude-desktop)

### npm install on macOS or Linux

Use Bun 1.4.4 or later. [Install Bun](https://bun.com/docs/installation)

```sh
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.

| Client | Command |
| --- | --- |
| ChatGPT Desktop, Codex CLI, or Codex IDE extension | `hinge-mcp setup codex` |
| Claude Desktop | `hinge-mcp setup claude-desktop` |
| Claude Code | `hinge-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](https://learn.chatgpt.com/docs/extend/mcp?surface=app)

## 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.

```sh
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.

```ts
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](https://f0rr0.github.io/hinge-mcp/)

[Contributing](https://github.com/f0rr0/hinge-mcp/blob/main/CONTRIBUTING.md) · [MIT](https://github.com/f0rr0/hinge-mcp/blob/main/LICENSE-MIT) or [Apache-2.0](https://github.com/f0rr0/hinge-mcp/blob/main/LICENSE-APACHE)