GhostPaw Affinity
MCP server by GhostPawJS Community
GhostPaw Affinity is a local social CRM for contacts, relationships, journal events, commitments and recurring dates. It runs as an MCP server, a command-line tool and a TypeScript library, and is aimed at people and agents who track who they are in touch with.
Install GhostPaw Affinity
Built from the published package, never by AI.
claude mcp add ghostpaw-affinity -- npx -y @ghostpaw/affinityRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"ghostpaw-affinity": {
"args": [
"-y",
"@ghostpaw/affinity"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"ghostpaw-affinity": {
"args": [
"-y",
"@ghostpaw/affinity"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"ghostpaw-affinity": {
"args": [
"-y",
"@ghostpaw/affinity"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add ghostpaw-affinity -- npx -y @ghostpaw/affinity{
"mcpServers": {
"ghostpaw-affinity": {
"args": [
"-y",
"@ghostpaw/affinity"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add ghostpaw-affinity npx -y @ghostpaw/affinityGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ghostpaw-affinity block.
About
GhostPaw Affinity keeps contacts, identities, relationships, journal events, commitments and recurring dates in one SQLite file. It works as an MCP server over stdio, as a command-line tool and as a zero-dependency TypeScript library. Events can carry an optional external reference, free-text channels, parent references and thread roots, and content up to 1 MB. By default the database is stored at ~/.ghostpaw/affinity.db.
The project is aimed at people and agents who want to track who they are in touch with, what was promised and which yearly dates recur, with a radar for contacts who are drifting. Prebuilt binaries for Linux, macOS and Windows embed the Node runtime, and an npm package is also available. Each release ships with a SHA256SUMS file for verifying downloads.
Written from the project's README and checked against it.
Tools it gives your assistant
searchSearches contacts by default, and events when the scope is set to events or all.read.searchEventsSearches the folded summary, content, reference and channel text of events.read.getEventThreadReturns a root event and its descendants in time order.write.reviseEventChanges an event's summary, content, occurredAt, significance, channel or type.write.deleteEventRemoves an event with its evidence, participants, attributes and link effects, after confirmation.
What you need
- Node.js 24+ for the npm package
- Linux with glibc 2.28+ for the Linux binaries
- macOS, Linux or Windows
| Setting | Needed | What it is |
|---|---|---|
GHOSTPAW_Environment variable | Optional | SQLite database path (default: ~/.ghostpaw/affinity.db) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Which contacts have I not talked to in a while and may be drifting?
- Record that Sam promised to send me the report on Friday.
- Search my events for anything mentioning the budget review.
Good to know
- Binaries are unsigned; macOS binaries carry an ad-hoc signature.
- Linux binaries require glibc 2.28+; use npx on Alpine.
- Event content is limited to 1 MB (1,048,576 UTF-8 bytes).
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://raw.githubusercontent.com/GhostPawJS/affinity/main/install.sh | sh - Asks for administrator rights (sudo)In
README.md:sudo
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to GhostPaw Affinity
All alternatives →Connects Claude, ChatGPT or other MCP-capable agents to a self-hosted CRM for companies, people, opportunities, tasks and notes. Built for people who sell to a named list of companies without a sales team.
Gives an AI assistant 21 Mamba Labs account-intelligence tools for go-to-market research, from company identity and buying signals to ICP fit scoring. Each tool runs a Mamba Labs actor on Apify and returns Clay-ready flat JSON. Built for sales and GTM teams.
Connects AI assistants to a Brilliant Directories site through its REST API. Lets an assistant manage members, posts, leads, reviews, pages and more with one API key. Built for Brilliant Directories site owners and admins.
Lets AI agents read and update HubSpot CRM records over MCP, from a local copy of deals, contacts and companies. Built for sales teams that want pipeline answers and recent changes without opening HubSpot. Free and open source under Apache 2.0.
Conduyt CRM is an MCP server that lets Claude, ChatGPT and other MCP-compatible agents work with a Conduyt account. It covers contacts, deals, pipelines, tasks, automations, messaging and reports.
Connects AI assistants to a Linkbreakers workspace through a hosted MCP server. It is for creating QR codes and links and reading who scanned them and what leads they produced.
Compare with Relaticle, mcp-gtm-suite or brilliant-directories-mcp
GhostPaw Affinity: common questions
Where is my contact data stored?
Contacts live in ~/.ghostpaw/affinity.db unless the --db option or the GHOSTPAW_AFFINITY_DB environment variable sets another path. Relative paths resolve against the current directory.
Does it need an internet connection or an account?
The source describes it as a local relationship model with a single local SQLite file. It does not mention any account or hosted service.
Which MCP clients can connect to it?
The source gives setup examples for Claude Code, Codex CLI, Cursor, Claude Desktop and project .mcp.json files, all starting the same stdio server.
How do I install GhostPaw Affinity?
In Claude Code run claude mcp add ghostpaw-affinity -- npx -y @ghostpaw/affinity. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is GhostPaw Affinity the official server?
GhostPaw Affinity is a community project by GhostPawJS, not verified by a company domain.
Is GhostPaw Affinity free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is GhostPaw Affinity safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to GhostPaw Affinity?
Similar MCP servers: Relaticle, mcp-gtm-suite, brilliant-directories-mcp, WireCat hubspot.
Does GhostPaw Affinity work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
