Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 78
  • 1 stars
  • 388 a week
  • MIT
  • Updated

Install GhostPaw Affinity

Built from the published package, never by AI.

claude mcp add ghostpaw-affinity -- npx -y @ghostpaw/affinity

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install GhostPaw Affinity in Claude Code

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
SettingNeededWhat it is
GHOSTPAW_AFFINITY_DBEnvironment variableOptionalSQLite 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 →
Relaticle relaticle
94

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.

ACA Remote 1.9k
mcp-gtm-suite mambalabsdev
89

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.

AAC Local 1.4k/wk
brilliant-directories-mcpbrilliantdirectories
89

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.

AAC Local and remote 11k/wk
WireCat hubspot WireCatLabs
89

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.

AAC Local 1.9k/wk
Conduyt CRM ptaramona
87

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.

BAC Local 3.9k/wk
Linkbreakers MCP linkbreakers-com
87

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.

AAC Local and remote 1k/wk

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.

GhostPaw Affinity Install

Add to stack

Loading.