About Rarefriend
Rarefriend syncs your LinkedIn connections and makes them fully searchable — with notes, tags, and relationship history so you always know who someone is, how you met, and what you last discussed.
Access it from your AI assistant, the web app at rarefriend.com, or Hops — Rarefriend's AI on WhatsApp.
Setup Detection Protocol
Call list_connected_integrations.
- Tool not available → MCP not connected. Present these steps inline to the user:
- Sign in at rarefriend.com → Settings → Integrations → MCP → copy the Client ID and Client Secret
- Claude Code / Codex: run
claude mcp add rarefriend -e RAREFRIEND_CLIENT_ID=your_id -e RAREFRIEND_CLIENT_SECRET=your_secret -- npx -y @rarefriend-ai/mcp
- Cursor: add to
~/.cursor/mcp.json under mcpServers.rarefriend with command: npx, args: ["-y", "@rarefriend-ai/mcp"], and the two env vars
- Claude Desktop: add the same block to
claude_desktop_config.json
- Restart the client, then try again
Check if LinkedIn contacts are in the CRM:
search_contacts("", source="linkedin", limit=1)
- Results found → LinkedIn is synced. Proceed to the user's request.
- No results → Don't assume it hasn't been synced. Continue to step 3.
Call get_integration_sync_status("linkedin") to check the actual sync state:
connected: false → LinkedIn has never been set up. Run the LinkedIn Sync Setup below.
lastJob.status: "running" or "pending" → Sync is currently in progress. Tell the user:
"Your LinkedIn sync is running right now — contacts will appear once it finishes. Large networks can take a few minutes. Try again shortly."
Do NOT show the sync setup instructions.
lastJob.status: "completed" with lastSyncAt set, but no contacts → Sync completed but found 0 contacts (network was empty or all were filtered). Tell the user and suggest checking LinkedIn in the web app.
lastJob.status: "failed" → Sync failed. Tell the user: "Your last LinkedIn sync failed. Go to rarefriend.com → Settings → Integrations → LinkedIn and click Sync Now to try again."
connected: true but lastJob: null → Account is connected but sync hasn't started yet. Tell the user to click Sync Now in the web app.
LinkedIn Sync Setup
LinkedIn sync works through the Rarefriend Chrome extension — it reads your LinkedIn connections directly from your browser. There is no direct LinkedIn API.
Tell the user:
"LinkedIn sync requires the Rarefriend Chrome extension. Here's how to set it up:"
- Install the extension — go to rarefriend.com → Settings → Integrations → LinkedIn → click Install Extension (opens the Chrome Web Store)
- Sign in to LinkedIn in your browser (the extension needs you to be logged in)
- Click Sync on the LinkedIn card in Settings → Integrations
- Sync runs in the background — large networks can take a few minutes
- Once done, come back here — all your connections will be searchable
After sync, LinkedIn contacts are labelled source: "linkedin" (extension) or source: "linkedin_csv" (CSV import) in search results.
Core Workflows
Search LinkedIn connections
search_contacts(query, searchMode?, tag?, source?, limit?, offset?)
source: 'linkedin' — synced via Chrome extension
'linkedin_csv' — imported via CSV
searchMode: 'all' | 'name' | 'company' | 'role' | 'email' | 'exact'
tag: filter by tag (e.g. "investor", "founder")
- "Who do I know at Stripe?" →
search_contacts("Stripe", searchMode="company", source="linkedin")
- "Find all VCs in my network" →
search_contacts("", tag="vc")
- "Find Alice Zhang" →
search_contacts("Alice Zhang", searchMode="exact")
- "Show all LinkedIn connections" →
search_contacts("", source="linkedin")
Source attribution: Each contact includes sourceLabel. Always mention it — e.g. "Found Alice Wang — LinkedIn (extension), PM at Stripe" or "John Smith — LinkedIn (CSV import)".
Paginate with offset + limit when hasMore is true.
Recall context before reaching out
Before any call, message, or meeting with a connection:
get_contact(contactId) — full profile: company, role, location, emails
list_notes(contactId) — full note history for this person
search_notes(query) — search across all contacts by keyword
get_recent_notes(limit?) — latest notes, any contact
Meeting prep pattern:
search_contacts("Marcus Johnson", searchMode="exact")
get_contact(contactId) — see their current company, role
list_notes(contactId) — review past conversations, intros given, context
- Summarise: last interaction, key context, anything to follow up on
Log relationship context
After every LinkedIn conversation, networking event, intro, or call:
create_note(contactId, content, isPinned?)
update_note(noteId, content?, isPinned?)
delete_note(noteId)
list_notes(contactId, limit?, offset?)
get_note(noteId)
pin_note(noteId, pinned) — pin for critical context (intro given, hot deal, key connection)
search_notes(query, limit?)
get_recent_notes(limit?)
Use isPinned: true for notes the user should always see first — intro'd to a key person, active deal, close mentor relationship.
Manage contacts
Update details after getting new info about a connection:
get_contact(contactId) — check current values first
update_contact(contactId, company?, role?, location?, bio?, emails?, phones?)
create_contact(displayName*, ...) — manually add someone not yet in CRM
Organise with tags
list_tags()
add_tag(contactId, tag)
remove_tag(contactId, tag)
rename_tag(oldTag, newTag)
Suggested tag conventions:
- Source:
linkedin-2024, event-founders-summit, cold-outreach
- Relationship:
warm-intro, mentor, investor, advisor
- Status:
active-deal, follow-up, dormant, met-once
- Type:
founder, vc, customer, recruiter, engineer
Bulk tagging: "Tag all Andreessen Horowitz connections as vc"
search_contacts("Andreessen Horowitz", searchMode="company", source="linkedin")
- Loop
add_tag(contactId, "vc") for each result
Cross-sync with Google or Microsoft
Once LinkedIn is synced, optionally connect Google or Microsoft to see calendar events, emails, and phone contacts alongside your LinkedIn network:
connect_integration("google_contacts")
connect_integration("google_calendar")
connect_integration("microsoft_contacts")
connect_integration("microsoft_calendar")
Quick Reference
| Tool |
When to use |
list_connected_integrations |
Always check first — detect MCP state and synced sources |
search_contacts |
Find connections by name, company, role, tag, or source |
get_contact |
Full profile before reaching out or preparing a meeting |
create_contact |
Manually add someone not yet in CRM |
update_contact |
Update details for an existing contact |
create_note |
Log a conversation, event, intro, or call |
update_note |
Edit a note |
delete_note |
Remove a note |
list_notes |
All notes for one contact |
get_note |
Full note content |
pin_note |
Mark critical relationship context |
search_notes |
Find context by keyword across all contacts |
get_recent_notes |
Recent networking activity |
list_tags |
See all tags in use |
add_tag / remove_tag |
Categorise connections |
rename_tag |
Rename a tag everywhere |
connect_integration |
Connect Google or Microsoft for cross-sync |
Other capabilities (outside this skill)
- LinkedIn sync setup — must be done in the web app via the Chrome extension (rarefriend.com → Settings → Integrations → LinkedIn). The extension syncs connections automatically; re-run Sync Now to refresh.
- Google Contacts and Calendar — install
organize-google-contacts and schedule-with-google-calendar to schedule meetings with connections and cross-reference networks.
- Microsoft Outlook — install
schedule-with-outlook.
- Hops on WhatsApp — same contacts and notes accessible via Rarefriend's WhatsApp AI assistant.
- Reminders — set follow-up reminders on contacts in the web app at rarefriend.com.
- Full feature set in one skill — install
network-and-relationship-manager.
References
- MCP setup — all supported clients
1---2name: manage-linkedin-network3description: Turn your LinkedIn network into a searchable, annotated CRM — find who you know at any company, prep for meetings, and never lose context on a connection again. Powered by Rarefriend. Use when the user wants to: search LinkedIn connections, find who they know at a company, add notes after LinkedIn conversations or networking events, tag connections, track warm intros, recall context before reaching out, prepare for a meeting with a connection, who should I reach out to, or set up LinkedIn sync. Triggers on: LinkedIn, connections, my network, LinkedIn contacts, who do I know at, networking, professional network, warm intro, notes about someone, tag contacts, relationship context, find contact, network management, LinkedIn sync, intro, reach out, who to contact.4license: MIT-05---6
7## About Rarefriend
8
9Rarefriend syncs your LinkedIn connections and makes them fully searchable — with notes, tags, and relationship history so you always know who someone is, how you met, and what you last discussed.
10
11Access it from your AI assistant, the web app at [rarefriend.com](https://rarefriend.com), or Hops — Rarefriend's AI on WhatsApp.
12
13---
14
15## Setup Detection Protocol
16
171. Call `list_connected_integrations`.
18 - **Tool not available → MCP not connected.** Present these steps inline to the user:
19 1. Sign in at [rarefriend.com](https://rarefriend.com) → **Settings → Integrations → MCP** → copy the Client ID and Client Secret
20 2. **Claude Code / Codex:** run `claude mcp add rarefriend -e RAREFRIEND_CLIENT_ID=your_id -e RAREFRIEND_CLIENT_SECRET=your_secret -- npx -y @rarefriend-ai/mcp`
21 3. **Cursor:** add to `~/.cursor/mcp.json` under `mcpServers.rarefriend` with `command: npx`, `args: ["-y", "@rarefriend-ai/mcp"]`, and the two env vars
22 4. **Claude Desktop:** add the same block to `claude_desktop_config.json`
23 5. Restart the client, then try again
24
252. Check if LinkedIn contacts are in the CRM:
26
27 ```
28 search_contacts("", source="linkedin", limit=1)
29 ```
30
31 - **Results found** → LinkedIn is synced. Proceed to the user's request.
32 - **No results** → Don't assume it hasn't been synced. Continue to step 3.
33
343. Call `get_integration_sync_status("linkedin")` to check the actual sync state:
35 - **`connected: false`** → LinkedIn has never been set up. Run the LinkedIn Sync Setup below.
36 - **`lastJob.status: "running"` or `"pending"`** → Sync is currently in progress. Tell the user:
37 > _"Your LinkedIn sync is running right now — contacts will appear once it finishes. Large networks can take a few minutes. Try again shortly."_
38 > Do NOT show the sync setup instructions.
39 - **`lastJob.status: "completed"` with `lastSyncAt` set, but no contacts** → Sync completed but found 0 contacts (network was empty or all were filtered). Tell the user and suggest checking LinkedIn in the web app.
40 - **`lastJob.status: "failed"`** → Sync failed. Tell the user: _"Your last LinkedIn sync failed. Go to rarefriend.com → Settings → Integrations → LinkedIn and click Sync Now to try again."_
41 - **`connected: true` but `lastJob: null`** → Account is connected but sync hasn't started yet. Tell the user to click Sync Now in the web app.
42
43---
44
45## LinkedIn Sync Setup
46
47LinkedIn sync works through the **Rarefriend Chrome extension** — it reads your LinkedIn connections directly from your browser. There is no direct LinkedIn API.
48
49Tell the user:
50
51> _"LinkedIn sync requires the Rarefriend Chrome extension. Here's how to set it up:"_
52
531. **Install the extension** — go to [rarefriend.com](https://rarefriend.com) → **Settings → Integrations → LinkedIn** → click **Install Extension** (opens the Chrome Web Store)
542. **Sign in to LinkedIn** in your browser (the extension needs you to be logged in)
553. **Click Sync** on the LinkedIn card in Settings → Integrations
564. Sync runs in the background — large networks can take a few minutes
575. Once done, come back here — all your connections will be searchable
58
59After sync, LinkedIn contacts are labelled `source: "linkedin"` (extension) or `source: "linkedin_csv"` (CSV import) in search results.
60
61---
62
63## Core Workflows
64
65### Search LinkedIn connections
66
67```
68search_contacts(query, searchMode?, tag?, source?, limit?, offset?)
69 source: 'linkedin' — synced via Chrome extension
70 'linkedin_csv' — imported via CSV
71 searchMode: 'all' | 'name' | 'company' | 'role' | 'email' | 'exact'
72 tag: filter by tag (e.g. "investor", "founder")
73```
74
75- "Who do I know at Stripe?" → `search_contacts("Stripe", searchMode="company", source="linkedin")`
76- "Find all VCs in my network" → `search_contacts("", tag="vc")`
77- "Find Alice Zhang" → `search_contacts("Alice Zhang", searchMode="exact")`
78- "Show all LinkedIn connections" → `search_contacts("", source="linkedin")`
79
80**Source attribution:** Each contact includes `sourceLabel`. Always mention it — e.g. _"Found Alice Wang — LinkedIn (extension), PM at Stripe"_ or _"John Smith — LinkedIn (CSV import)"_.
81
82Paginate with `offset + limit` when `hasMore` is true.
83
84### Recall context before reaching out
85
86Before any call, message, or meeting with a connection:
87
88```
89get_contact(contactId) — full profile: company, role, location, emails
90list_notes(contactId) — full note history for this person
91search_notes(query) — search across all contacts by keyword
92get_recent_notes(limit?) — latest notes, any contact
93```
94
95**Meeting prep pattern:**
96
971. `search_contacts("Marcus Johnson", searchMode="exact")`
982. `get_contact(contactId)` — see their current company, role
993. `list_notes(contactId)` — review past conversations, intros given, context
1004. Summarise: last interaction, key context, anything to follow up on
101
102### Log relationship context
103
104After every LinkedIn conversation, networking event, intro, or call:
105
106```
107create_note(contactId, content, isPinned?)
108update_note(noteId, content?, isPinned?)
109delete_note(noteId)
110list_notes(contactId, limit?, offset?)
111get_note(noteId)
112pin_note(noteId, pinned) — pin for critical context (intro given, hot deal, key connection)
113search_notes(query, limit?)
114get_recent_notes(limit?)
115```
116
117Use `isPinned: true` for notes the user should always see first — intro'd to a key person, active deal, close mentor relationship.
118
119### Manage contacts
120
121Update details after getting new info about a connection:
122
123```
124get_contact(contactId) — check current values first
125update_contact(contactId, company?, role?, location?, bio?, emails?, phones?)
126create_contact(displayName*, ...) — manually add someone not yet in CRM
127```
128
129### Organise with tags
130
131```
132list_tags()
133add_tag(contactId, tag)
134remove_tag(contactId, tag)
135rename_tag(oldTag, newTag)
136```
137
138**Suggested tag conventions:**
139
140- Source: `linkedin-2024`, `event-founders-summit`, `cold-outreach`
141- Relationship: `warm-intro`, `mentor`, `investor`, `advisor`
142- Status: `active-deal`, `follow-up`, `dormant`, `met-once`
143- Type: `founder`, `vc`, `customer`, `recruiter`, `engineer`
144
145**Bulk tagging:** "Tag all Andreessen Horowitz connections as vc"
146
1471. `search_contacts("Andreessen Horowitz", searchMode="company", source="linkedin")`
1482. Loop `add_tag(contactId, "vc")` for each result
149
150### Cross-sync with Google or Microsoft
151
152Once LinkedIn is synced, optionally connect Google or Microsoft to see calendar events, emails, and phone contacts alongside your LinkedIn network:
153
154```
155connect_integration("google_contacts")
156connect_integration("google_calendar")
157connect_integration("microsoft_contacts")
158connect_integration("microsoft_calendar")
159```
160
161---
162
163## Quick Reference
164
165| Tool | When to use |
166| ----------------------------- | -------------------------------------------------------- |
167| `list_connected_integrations` | Always check first — detect MCP state and synced sources |
168| `search_contacts` | Find connections by name, company, role, tag, or source |
169| `get_contact` | Full profile before reaching out or preparing a meeting |
170| `create_contact` | Manually add someone not yet in CRM |
171| `update_contact` | Update details for an existing contact |
172| `create_note` | Log a conversation, event, intro, or call |
173| `update_note` | Edit a note |
174| `delete_note` | Remove a note |
175| `list_notes` | All notes for one contact |
176| `get_note` | Full note content |
177| `pin_note` | Mark critical relationship context |
178| `search_notes` | Find context by keyword across all contacts |
179| `get_recent_notes` | Recent networking activity |
180| `list_tags` | See all tags in use |
181| `add_tag` / `remove_tag` | Categorise connections |
182| `rename_tag` | Rename a tag everywhere |
183| `connect_integration` | Connect Google or Microsoft for cross-sync |
184
185---
186
187## Other capabilities (outside this skill)
188
189- **LinkedIn sync setup** — must be done in the web app via the Chrome extension (rarefriend.com → Settings → Integrations → LinkedIn). The extension syncs connections automatically; re-run Sync Now to refresh.
190- **Google Contacts and Calendar** — install `organize-google-contacts` and `schedule-with-google-calendar` to schedule meetings with connections and cross-reference networks.
191- **Microsoft Outlook** — install `schedule-with-outlook`.
192- **Hops on WhatsApp** — same contacts and notes accessible via Rarefriend's WhatsApp AI assistant.
193- **Reminders** — set follow-up reminders on contacts in the web app at rarefriend.com.
194- **Full feature set in one skill** — install `network-and-relationship-manager`.
195
196## References
197
198- [MCP setup — all supported clients](references/SETUP.md)