Skip to main content
Glama

Rolodex

A personal contact graph kept as plain markdown in an Obsidian vault. One card per person, hub notes for companies and countries, a CLI to import and enrich, and an MCP server so Claude (Desktop or Code) can search and update the vault. Everything is local files; there is no account, no server and no cloud service of its own.

Quickstart

You need Bun (1.1+), Obsidian and, for the Claude part, Claude Desktop or Claude Code. macOS and Linux work; DEVONthink features are macOS only and optional.

1. Install

bun install -g git+<repo-url>        # puts `rolodex` on PATH
# or from a clone: git clone <repo-url> rolodex && cd rolodex && bun install && bun link

Without installing, bun src/cli.ts <command> works the same. Below, rolodex means either form.

2. Create a vault

rolodex init ~/Rolodex --owner "Your Name" --email you@example.com
rolodex doctor        # what works and which optional integrations are off

init saves the vault path to ~/.config/rolodex/config.yaml (override the file with ROLODEX_CONFIG), so later commands need no --vault. The vault is chosen by --vault, then ROLODEX_VAULT, then the config file, then ~/Rolodex. init is idempotent and creates Contacts/, Companies/, Countries/, _sources/, a graph config, Home.md, the Home CSS snippet and the rolodex-views plugin files. Every command also takes --vault <path> and --dry-run.

To try things first without your own data: rolodex demo ~/RolodexDemo builds a small vault of eight invented people (then add --vault ~/RolodexDemo to commands, or open it in Obsidian).

3. Import your LinkedIn contacts

  1. On LinkedIn: Settings, Data privacy, "Get a copy of your data", choose Connections (and Messages if you want history). Download the archive when LinkedIn sends it and unzip it.

  2. Import the folder (it contains Connections.csv):

rolodex import linkedin-archive ~/Downloads/linkedin-export --dry-run   # preview
rolodex import linkedin-archive ~/Downloads/linkedin-export
rolodex migrate                                                         # normalise, build company and country hubs
rolodex check

Other sources: import vcard <file.vcf> (Apple Contacts, iCloud, Outlook, Android), import google-csv <contacts.csv>, import addressbook <contacts.json>, import linkedin <json>, or add linkedin <profile-url> for a single person. Every import is idempotent; running it twice changes nothing.

4. Open in Obsidian

Open the vault folder as a vault ("Open folder as vault"). Start at Home.md; use the graph view for the network. Run rolodex obsidian install --enable to install and enable the bundled rolodex-views plugin (saved views, chat pane); the Dataview community plugin makes the company and country tables live.

5. Connect Claude

The MCP server exposes search, read, add, update and link tools over stdio. Replace the paths.

Claude Code:

claude mcp add rolodex -s user -e ROLODEX_VAULT=/Users/you/Rolodex -- bun /path/to/rolodex/src/mcp.ts

Claude Desktop: edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/) and restart the app:

{
  "mcpServers": {
    "rolodex": {
      "command": "bun",
      "args": ["/path/to/rolodex/src/mcp.ts"],
      "env": { "ROLODEX_VAULT": "/Users/you/Rolodex" }
    }
  }
}

If the app cannot find bun, use its absolute path (which bun). Then ask: "Who do I know at Acme?", "Add Jane Doe, CTO at Globex, met at the conference", "Brief me on Bob before my call".

6. Daily use

  • Ask Claude to add people and notes; cards get dated ## History lines, nothing is overwritten.

  • rolodex brief "<name>" prints a one-page brief; rolodex stale lists contacts you have not touched in 90 days; rolodex birthdays and rolodex queue show what is due.

  • After bulk changes: rolodex migrate && rolodex check.

  • Back up the vault (copy it or put it in git) before bulk runs; use --dry-run first.

Related MCP server: Obsidian Everywhere

What it does

  • One markdown card per person (frontmatter you can query, history you can read), company and country hub notes, industries and parent companies.

  • Importers: LinkedIn archive and exports, vCard, Google CSV, address book, LinkedIn DMA API, single profile URL.

  • Dedupe, inference of country and company from email, mutual-connection graph, contact photos, company logos (fetched or generated monograms).

  • MCP server for Claude; account plans, meetings and projects as notes; open questions and freshness tracking.

  • Optional, advanced: mail history per contact from DEVONthink (macOS), a mail index with search, LinkedIn crawl and enrichment through your own browser automation. These need extra setup (see Advanced) and are off unless you configure them.

Privacy

Everything stays on your machine, in the vault folder and <vault>/_sources (raw imports, state, the optional SQLite index rolodex.db). Nothing is sent to a rolodex service, and nothing goes to an AI model except what your Claude client reads from the vault when you ask it to.

What can touch the network, and only when you run it:

Feature

Command

What goes out

Company logos

companies logos

A request to the company's own website (never a third-party service) to fetch one image. companies monograms generates logos with no network.

LinkedIn DMA import

import linkedin-dma

Your own token to LinkedIn's data portability API.

LinkedIn crawl

linkedin sync, enrichment after rolodex_add

Only with your own browser-automation checkout configured (_sources/enrich.json); off otherwise.

Mail index

mail ...

Local DEVONthink and local database only; embedding is opt-in (--confirm-gpu).

The repository never contains vault data; .gitignore excludes _sources/, *.json, *.csv and logs. Do not commit your vault into a public repository.

Troubleshooting

Symptom

Fix

bun: command not found in Claude Desktop

Use the absolute path from which bun as command.

Claude does not list the rolodex tools

Restart Claude Desktop after editing the config; check the JSON is valid; run ROLODEX_VAULT=... bun src/mcp.ts and look for rolodex mcp ready on stderr.

Commands act on the wrong folder

The vault comes from --vault, then ROLODEX_VAULT, then vault: in ~/.config/rolodex/config.yaml, then ~/Rolodex. rolodex doctor prints the one in use.

check reports invalid: notes

A hand edit broke the YAML frontmatter; fix the named file (quote values containing :).

Import created duplicates

rolodex dedupe --explain, then rolodex dedupe; merged cards move to _merged/, nothing is deleted.

Company tables are empty in Obsidian

Install and enable the Dataview community plugin, or use the generated Home.md (rolodex home render).

LinkedIn archive import finds nothing

Point at the folder that contains Connections.csv, not the zip.

Advanced (optional)

DEVONthink mail enrichment, the mail index (mail.backend local or devon), LinkedIn crawling and the nightly pipeline are power-user features that assume macOS tooling and your own setup; the reference below documents them. The launchd files in tools/*.plist are examples with owner-specific paths: copy and edit them before use.

Development

bun install
bun test
bunx tsc --noEmit
tools/smoke.sh        # fresh clone, empty HOME: init, doctor, imports, obsidian install, MCP (commit first)

The vault location comes from --vault P or ROLODEX_VAULT (then the config file, default ~/Rolodex).

More detail: docs/GETTING-STARTED.md, docs/ARCHITECTURE.md.

CLI

bun src/cli.ts <command> [--vault P] [--dry-run]

bun src/cli.ts without arguments prints the usage:

rolodex <command>
  import linkedin <json> [--vault P] [--dry-run]
  import linkedin-archive <dir> [--vault P] [--dry-run]
  import linkedin-dir <dir> [--vault P] [--dry-run]
  import linkedin-dma [--vault P] [--dry-run]
  import addressbook <contacts.json> [--vault P] [--dry-run]
  enrich devonthink [--vault P] [--limit N] [--throttle-ms 750] [--reset] [--from-cache] [--dry-run] [--only "<name>"]
  mail index [--db NAME] [--since DATE] [--eml-dir D | --via-jxa] [--batch N] [--limit N]   (default: reads DEVONthink .eml files directly)
  links mail [--min 2] [--top 10] [--vault P] [--dry-run]
  infer email [--vault P] [--dry-run]
  init [--owner "First Last"] [--vault P]
  owner set "First Last" [--email x]... [--vault P]
  owner show [--vault P]
  dedupe [--vault P] [--dry-run] [--rules A,B,C,D,E] [--explain] [--apply-e]
  migrate [--vault P] [--dry-run]
  check [--vault P]
  linkedin set --file "<card file>" [--url <u>] [--degree 1|2|3] [--mutuals "a; b"] [--vault P]
  linkedin retire --file "<card file>" [--vault P]
  linkedin sync [--dry-run] [--force] [--browsr-dir D] [--priority-file F] [--vault P]
  linkedin status [--vault P]
  linkedin schedule install [--at HH:MM] [--dry-run] | remove | status
  stats [--vault P]

--vault P and --dry-run work on every command that writes; with --dry-run nothing is written and the summary says what would change. The enrich command accepts more options than the top-level usage shows (see below).

Command

What it does

init <vault> [--owner "First Last"] [--email a@b]

Create or extend the vault layout (Contacts, Companies, Countries, _sources, .obsidian graph config, Home.md if missing, CSS snippet, plugin). Saves the vault path to ~/.config/rolodex/config.yaml unless --no-config. --owner records the vault owner at the same time.

import linkedin <json>

Import a LinkedIn JSON file. Accepts the connections-list, search-list and classic shapes. Idempotent merge by LinkedIn URL, then name. Search results carry mutual_connections and tag source/linkedin-search.

import linkedin-dir <dir>

Import every LinkedIn JSON file in a directory, one summary per file.

import addressbook <contacts.json>

Import address-book contacts: an array of {first,last,org,title,emails,phones,addr,urls}. Tagged source/addressbook.

import linkedin-archive <dir>

Import the official LinkedIn data archive: Connections.csv plus message history lines.

import linkedin-dma

Fetch connections and messages from the LinkedIn Member Data Portability API and import them through the archive path. See "LinkedIn DMA API".

doctor

Check bun, vault, owner, backend and optional integrations; exit 1 only when a required item fails.

owner set "First Last" [--email x]...

Record the vault owner (name and any number of --email). Stored in _sources/owner.json; the owner card is tagged rolodex/owner.

owner show

Print the stored owner as JSON (null if none).

enrich devonthink

Add mail history from DEVONthink (read only). Resumable, throttled. See below.

links mail

Deprecated (old DEVONthink cache); use mail counts (counts and shared-mail links from the mail index, docs/mail-index.md).

infer email

Fill missing country and company from email addresses. See below.

migrate

Normalise existing notes. See below.

dedupe

Merge duplicate person cards. See below.

check

Parse the frontmatter of every note in Contacts, Companies, Countries as YAML. Prints invalid: <file> per failing note and checked N notes, M with invalid frontmatter; exit code 1 if any is invalid.

stats

Counts of cards, companies, countries.

LinkedIn DMA API

import linkedin-dma reads your own data through LinkedIn's Member Data Portability API (self-serve, scope r_dma_portability_self_serve). Fetched CONNECTIONS and MESSAGES rows are mapped to the archive CSV shape and go through the same code path as import linkedin-archive. PROFILE is read only to set _sources/owner.json when the owner is missing.

  1. In the LinkedIn developer portal, create an app with the product "Member Data Portability API (Member)" and generate a 3-legged token with the token generator (scope r_dma_portability_self_serve).

  2. Store it in the macOS Keychain (paste at the prompt; it is never logged or written to the vault): security add-generic-password -s rolodex-linkedin-dma -a "$USER" -w Alternatively export ROLODEX_LINKEDIN_TOKEN (takes precedence).

  3. Run bun src/cli.ts import linkedin-dma --dry-run, then without --dry-run.

Pages are fetched at 1 request per second. Raw responses are saved to <vault>/_sources/linkedin-dma/<domain>-<date>.json. A 401/403 means the token expired or the product is not granted; 429 means rate limited, retry later. Endpoint and API version live in one const (DMA in src/core/linkedin-dma.ts).

Typical pipeline

Run in this order; every step is idempotent and takes --dry-run.

bun src/cli.ts init "$ROLODEX_VAULT" --owner "First Last"
bun src/cli.ts import linkedin-dir "$ROLODEX_VAULT/_sources/linkedin"   # 1. import
bun src/cli.ts import addressbook "$ROLODEX_VAULT/_sources/contacts.json"
bun src/cli.ts enrich devonthink                                        # 2. enrich (mail history, mail cache)
bun src/cli.ts links mail                                               # 3. contact-to-contact links
bun src/cli.ts infer email                                              # 4. country/company from email
bun src/cli.ts migrate                                                  # 5. normalise
bun src/cli.ts dedupe --explain                                         # 6. merge duplicates
bun src/cli.ts check                                                    # 7. verify frontmatter

Safety

  • Back up the vault (copy or git commit it) before any bulk run: enrich, infer, migrate, dedupe. Run once with --dry-run first.

  • Nothing is ever deleted. Merged duplicate cards go to <vault>/_merged/, orphan company/country notes to <vault>/_merged/companies/ and _merged/countries/; name collisions get a (2) suffix. .obsidian/graph.json hides _merged.

  • The owner (the person whose mail archive this is) is excluded: skipped by enrich, never a link target in links mail, tagged rolodex/owner and filtered from the graph.

  • Idempotent: re-running any command changes nothing. Body lines are only appended (deduped), dates only widen, lists are unions, unchanged cards are written byte-identical, writes are atomic. infer never overwrites an existing value.

  • DEVONthink is only read, never modified. Raw inputs and state live in <vault>/_sources, outside this repo.

enrich devonthink

nohup bun src/cli.ts enrich devonthink --vault "$ROLODEX_VAULT" > /dev/null 2>&1 &

Full usage:

rolodex enrich devonthink [--vault P] [--limit N] [--throttle-ms 750] [--reset] [--from-cache] [--max-recipients 8] [--timeout-ms 60000] [--max-hits 1500] [--retry-errors] [--dry-run] [--only "<name>"]

Option

Default

Meaning

--limit N

all

Process at most N cards.

--throttle-ms

750

Pause between DEVONthink queries.

--reset

off

Ignore the state file and start over.

--retry-errors

off

Only process cards whose last run ended in an error.

--timeout-ms

60000

Timeout per DEVONthink query; a timeout is recorded as an error and the run continues.

--max-hits

1500

Cap on mails read per query.

--max-recipients

8

Drop mails with more recipients than this (mass mailings).

--backfill-uuids

off

Re-query only cards whose cached mails lack a DEVONthink uuid and fill it in (same throttle and timeout; resumable via the state file).

--from-cache

off

Recompute from _sources/mail-cache.jsonl: no DEVONthink calls, no throttle, state ignored.

--only "<name>"

all

Only the card with exactly this name.

--dry-run

off

Do not write cards, state or cache.

For each person card it runs app.search('"<full name>" kind:email') in DEVONthink through osascript -l JavaScript (bundle id com.devon-technologies.think). Nothing is created, moved or opened. The name travels in an environment variable, never inside script text. Dates are the record creationDate (DEVONthink sets it to the mail's date on import).

Per card: up to 5 most recent mails become history lines YYYY-MM-DD mail <from|to>: [<subject>](x-devonthink-item://<uuid>) (a link that opens the mail in DEVONthink; [ ] in the subject are escaped; without a known uuid the subject stays plain text and --backfill-uuids fills it in later). LinkedIn connected on history lines link to the card's LinkedIn profile. Older wording: YYYY-MM-DD mail: <subject> (160 chars max, deduped, existing lines never rewritten); first_contact/last_contact only widen; sources gains mail, tags gains source/mail; mail_count is stored. Single-token names and names under 5 chars are skipped; the owner card is skipped. Mail headers (authors, recipients, dates) are kept in the mail cache _sources/mail-cache.jsonl. Progress goes to stdout and _sources/devonthink-enrich.log; state to _sources/devonthink-enrich.state.json (re-runs skip done names). If DEVONthink is not running the run aborts cleanly. At the end the cache is compacted and the mail links are applied (same as links mail).

rolodex links mail [--min 2] [--top 10] [--vault P] [--dry-run]
rolodex relate --a "<card>" --b "<card>" --note "..." [--source S] [--date D] [--remove] [--vault P]

Reads the mail cache only (no DEVONthink). Two contacts that share at least --min mails (each distinct mail counts once, mass mailings above the recipient limit and the owner excluded) are linked on both cards, at most --top links per card. The links are the managed bullets - [[@ Name]] (N mails) in ## Links; any other line in that section is hand-written and kept. Fails with "no mail cache" if enrich devonthink has not run.

infer email

rolodex infer email [--vault P] [--dry-run]

For cards with email addresses: a missing country is set from the country-code TLD of the address (.ch -> Switzerland; generic TLDs give nothing), recorded as country_source: email-tld, with the country/<name> tag. A missing company is set from the email domain (company_source: email-domain), ignoring free-mail providers, ISPs and message relays (gmail, gmx, icloud, ... and notification senders); big groups map to their proper name (sap -> SAP) and domain:<domain> entries in company-aliases.json override. Never overwrites an existing country or company. Prints how many countries and companies were set.

dedupe

rolodex dedupe [--vault P] [--dry-run] [--rules A,B,C,D,E] [--explain] [--apply-e]

Merges duplicate person cards (the same person imported from several sources) into the best card (the one with a LinkedIn URL, then the longest history). Names are compared folded (case, diacritics, ö = oe = o) without titles (Dr, Prof, MBA, ...), taglines, a leading company token and a hyphenated surname tail. Rules run in this order:

Rule

Merges cards that...

A

have the same name tokens in any order ("Last First" vs "First Last").

B

share the last name and pass the first-name guard, and also agree on company, or share an email, or one of the two has neither company nor email. Skipped when more than one card in the group has a LinkedIn URL.

C

share an email address whose local part contains the full name (first name or initial next to the last name) of each card, and pass the first-name guard.

First-name guard (rules B and C): first names must be equal after folding, or one a prefix of the other when the shorter has at least 4 characters (a 3-character prefix such as Ben/Benjamin only if the rest of the name matches exactly). Cards with different LinkedIn URLs are never merged.

Merging unions frontmatter lists, fills empty fields, keeps all history and hand-written ## Relevant text; the loser file moves to _merged/, wiki-links to it across the vault are rewritten to the primary, _sources/dedupe-log.jsonl records every merge and -path:_merged is added to the graph search. --rules A,B runs a subset; --explain prints rule X: <loser> -> <primary> per merge (combine with --dry-run to review). Summary: merged count per rule and number of files with rewritten links.

migrate

rolodex migrate [--vault P] [--dry-run]

Idempotent clean-up of an existing vault, in this order:

  1. Cards: plain-string country: becomes [[Country]]; the managed ## Links bullets are synced; email lists are cleaned (shared or misattributed addresses removed); invalid frontmatter is rewritten.

  2. .obsidian/graph.json gets the owner exclusion; the owner card gets its tag.

  3. Companies: contacts are re-pointed to the canonical company and duplicate company notes are merged into it (see Companies).

  4. Orphans: company and country notes no contact links to move to _merged/companies and _merged/countries; notes with hand-written text stay and are listed.

With --dry-run it also prints the top companies after regrouping.

Colleague overlap. migrate also computes, for every pair of contacts with positions at the same company (canonical name, parents resolved) whose date ranges overlap by at least 3 months, a managed ## Worked with block after Experience (<!-- rolodex:colleagues:start/end -->): up to 20 colleagues, one line per employer - **<Company>** (<yyyy>–<yyyy>): [X](obsidian://open?vault=<V>&file=Contacts%2F%40%20X) (URI links, not wikilinks, so they add no graph edges; the plugin restores hover preview and in-app click), the date overlap alone only shows the same employer at the same time (large employers prove little), so entries with stronger evidence carry a marker after the name ( ✓ = recorded connection, 📍 = same city on the overlapping positions; a location that merely repeats a job title is ignored) and rank first, then overlap months, then the colleague's mail_count; the owner card is skipped. The Obsidian plugin's contact network graph adds an exact path term for every Worked-with colleague and every Connections target, so the first level shows people from the same time, not company hubs alone. It also adds every Projects/ note that links the person (frontmatter team or body) with that project's team, every note linked from the card's ## Relevant section, and every contact in ## Links (- [[@ X]] (N mails), count optional, most mails first, up to the plugin setting linksMax, default 40), all as exact path terms, capped at 60 terms (Links contacts rank before Worked-with colleagues when the cap trims); Meetings/ is never included. Projects/ has its own graph colour group (path:Projects).

MCP tools

Server: src/mcp.ts (stdio). name/file identify a card (name, alias, LinkedIn URL, or vault-relative file); all arguments are optional unless marked required.

Tool

Purpose

Arguments

rolodex_search

Find cards by text, company, country, tag (case/diacritic-insensitive).

query, name, company, country, tag (prefix match, with or without #), limit (1-200)

rolodex_get

Return one card (frontmatter + body).

name, file

rolodex_add

Create a card (refuses duplicates by linkedin/name).

name (required), linkedin, headline, company, role, country, city, email[], phone[], tags[], relevant, history

rolodex_enrich

Start LinkedIn enrichment (profile, degree, mutuals, photo) now for cards as a detached browsr process.

files[] (required)

rolodex_update

Merge frontmatter fields and append history/relevant lines; hubs and tags are re-synced on company/country change.

name, file, set (map of field to string/number/boolean/list), replace, history, relevant

rolodex_link

Link two contacts (both sides) or a contact to a company.

a (required), b, company, relation

rolodex_relate

Record that two contacts know each other / worked together (note, optional source/date); both cards get a managed ## Connections line. Stored in _sources/connections.json, mirrored to the DB by rolodex db ingest connections.

a, b, note (required), source, date

rolodex_unrelate

Remove that connection from both cards.

a, b (required)

rolodex_tags

List tags with counts.

prefix

rolodex_graph

Contact neighbourhood: company, country, linked contacts, colleagues at the same company.

name, file

rolodex_history_add

Append a dated history line (YYYY-MM-DD <line> (source: <source>)).

line (required), name, file, source, date (YYYY-MM-DD, default today)

rolodex_stats

Vault counts.

none

Auto-enrich on add

A card created by rolodex_add is queued for LinkedIn enrichment; adds within 20 s are batched into one detached node <browsrDir>/scripts/rolodex-enrich.mjs <cards...> process (log: _sources/linkedin-experience/_enrich.log, lock _enrich.lock, queue _enrich.queue; only one process at a time, the next batch starts when it exits). Configure with _sources/enrich.json {"browsrDir": "<browsr checkout>", "enabled": true} or env ROLODEX_ENRICH_BROWSR. Without config nothing is spawned and the add result says "enrich not configured". The queue is only drained while the MCP server runs.

Register with Claude Code:

claude mcp add rolodex -s user -e ROLODEX_VAULT=<vault> -- bun <repo>/src/mcp.ts

Instructions

The MCP server sends usage instructions to every client on connect (src/core/instructions.ts): answer from the vault and follow card links, tone, demo-safe wording, knowledge capture after meetings, account plan flow, cards from LinkedIn (always pass linkedin to rolodex_add). If <vault>/_sources/instructions.md exists its text is appended under "Vault-specific". Clients without instruction support can fetch the same text (generic + vault parts) as the MCP prompt rolodex-instructions.

Open questions and freshness

  • Frontmatter: open_questions: [..] (card-owned), verified_at (set when a question is resolved or you confirm the card), linkedin_verified_at (set on import experience from the mtime of _sources/linkedin-experience/<slug>.snap.txt).

  • Open Questions.md (managed, linked from Home): cards with open questions grouped by company, oldest verified first, questions as sub-bullets.

  • CLI: question add "<name>" "<text>", question resolve "<name>" "<text|index>" [--answer "..."] (answer goes to History with today's date), stale [--days 90] [--limit N]. MCP: rolodex_question_add, rolodex_question_resolve, rolodex_stale.

  • check also lists candidate open questions (Relevant/History lines with "unknown yet", "to verify", "to confirm", "TODO" or ending in "?"); report only.

  • nightly [--max 60] [--days 90] [--no-crawl] [--embed --confirm-gpu ...] [--dry-run]: (1) mail: incremental header pass + kind backfill (no embedding unless --embed), then mail counts; (2) import of already-saved LinkedIn snapshots for the plan (cards whose open questions mention LinkedIn/surname/role, then cards tagged rolodex/update, then the stalest linkedin_verified_at, capped at max), stamps linkedin_verified_at, runs migrate twice and check, writes _sources/nightly/<date>.md. It does not crawl: rolodex linkedin sync owns the crawl (shared browsr budget/lock); --no-crawl is an accepted no-op. --dry-run prints the plan only.

  • Schedule: tools/rolodex-nightly.plist is a launchd template for 02:30 local (fill the placeholders; not installed by the tool).

Sources

Source

Command

Maps to

LinkedIn connections page list

import linkedin <json>

name, url -> linkedin, headline -> headline plus parsed company/role, connected_on; tags source/linkedin, connected/<year>.

LinkedIn people search, per country

import linkedin <json> / linkedin-dir <dir>

location -> country and city, mutual count -> mutual_connections; tags source/linkedin-search, country/<name>.

macOS address book export

import addressbook <json>

emails -> email, phones -> phone, org -> company, title -> role, address -> city/country; history line addressbook: <org> <title>; tag source/addressbook. Matches existing cards by name, else creates.

DEVONthink mail enrichment

enrich devonthink

up to 5 mails as history lines YYYY-MM-DD mail: <subject>, first_contact/last_contact, mail_count; tag source/mail.

LinkedIn data archive (pending, the export arrives about 24 h after the request)

import linkedin-archive <dir>

Connections.csv -> same fields as the connections list; messages.csv -> history lines on matched cards.

Card schema

---
type: person
name: Jane Example
aliases: [Jane Example]
linkedin: linkedin.com/in/jane-example
headline: "Head of Platform at Example Corp | Speaker"
company: "[[Example Corp]]"
role: Head of Platform
country: "[[Germany]]"
city: Berlin
email: jane@example.invalid
connected_on: 2021-03-12
sources: [linkedin, mail]
first_contact: 2019-01-02
last_contact: 2024-05-06
tags: [person, source/linkedin, source/mail]
mail_count: 3
mutual_connections: 12
---
# Jane Example

## History
- 2019-01-02 mail: Hello

## Relevant
- Met at a conference.

Key order is fixed; unknown keys are preserved.

Tag conventions

person, company, country for note kinds; source/<name> for provenance (source/linkedin, source/linkedin-search, source/addressbook, source/mail, source/manual); free topical tags are lowercase with / for hierarchy.

Real data

Put raw inputs (LinkedIn exports, address-book dumps) in <vault>/_sources/, never in this repo. Import from there, e.g. bun src/cli.ts import addressbook "$ROLODEX_VAULT/_sources/contacts.json".

Privacy

Vault data never lives in this repo. .gitignore excludes vault/, _sources/, *.csv, *.json (except package.json, tsconfig.json and tests/fixtures/**), logs and spec-*.md. All fixtures contain invented people on example.invalid domains. Enrichment state and logs live inside the vault's _sources.

Companies

Company names are normalised to one note per company (legal suffixes such as AG, SE, GmbH, Inc., Ltd, S.A., parenthetical noise and | ... tails are dropped). The original spelling is kept in the company note's aliases:. Override the result with <vault>/_sources/company-aliases.json, e.g. {"SAP SE": "SAP"}; the map wins. Re-importing (or migrate) merges duplicate company notes into the canonical one; hand-written text of a merged note goes under ## Merged from <name>.

Account plans

rolodex account plan <Client> creates or refreshes Accounts/<Client>.md (people, team, bridges, former, open questions as managed blocks; hand sections and the append-only ## Log survive). account log <Client> "<text>" adds a dated log line, account list shows all plans; migrate refreshes them. MCP: rolodex_account_plan, rolodex_account_log, rolodex_account_list. Format: docs/accounts.md.

Meetings and projects are linked, not nested. rolodex_meeting_add(date, title, accounts[], projects[], attendees[], decisions[], actions[], facts[]) writes Meetings/<date> <Title>.md (minutes only, never transcripts), adds a meeting: History line to each attendee card and refreshes linked project notes; idempotent on (date, title). rolodex_project_add(name, account, status, team[], scope) writes Projects/<Name>.md with a managed Meetings block. Account notes get acct-projects and a collapsed [!note]- Meetings (N) callout. Meetings are sensitive: the plugin graph base excludes Meetings, and chat replies never autolink meeting notes in presenting mode.

Graph views

Saved global-graph search filters, so the default filter string is never lost. The obsidian-plugin/ folder is a small plain-JS Obsidian plugin (rolodex-views); install it with bun src/cli.ts obsidian install [--vault P] [--enable] (copies it into .obsidian/plugins/; --enable also lists it in community-plugins.json, otherwise you turn it on in Obsidian; works on an empty vault; install-plugin is an alias).

Views live in the vault file _sources/graph-views.json ([{id, name, search}], created with defaults on first load). {base} expands to -path:_sources -path:.obsidian -tag:#rolodex/owner -path:_merged. Defaults: All ({base}), To connect ([to_connect] {base}), Network (({ask}{network}[to_connect]) {base}). {network} expands to the configured network term (nothing when none). {ask} makes the view prompt "Add a company or name (optional)" when opened: Enter with text adds <term> OR (accent-insensitive, whole word, plus the aliases of a matching Companies hub, so Nestle finds Nestlé) and the tab is titled <view>: <term>; empty input removes the placeholder. Existing views without {ask} are unchanged. The file may also be the object form {base, networkTerm, views}; networkTerm is the search term of your own network company (e.g. Acme), added to hub graph links with network=1 ((<hub> OR <networkTerm> OR [to_connect]) {base}). It can also be set as networkTerm in aibroker.json or in the plugin settings (setting > aibroker.json > graph-views.json). With no term configured nothing is hard-coded: the link opens the hub query alone. The hub whose name equals the term gets no network link, and account plans treat people at that company as ours. Each view is a command "Rolodex: graph view " that opens the global graph and sets its search; "Rolodex: choose graph view" is a fuzzy picker; "Rolodex: reload graph views" re-reads the file. Operators must be uppercase (OR).

URI: obsidian://rolodex-graph?vault=Rolodex&query=<urlencoded> opens the graph with (<query> OR [to_connect]) {base} (raw=1 is accepted and ignored). Company hubs carry a managed [Network graph] link using it (network=1): that opens ("<Hub>" OR file:"<networkTerm>") {base} (multi-word hub names quoted), i.e. the hub's world plus the network company as one node, without the global [to_connect].

Own network graph (photos)

The plugin ships its own force-directed graph (view type rolodex-network, canvas, no dependencies, no network access). It draws round people photos (frontmatter photo:, vault-relative path) instead of dots, company logos (frontmatter logo:, vault-relative image path) in rounded squares, and initials discs when an image is missing or still loading. Setting Graph engine (own default | core) decides what the saved views, the "Rolodex: graph view " commands, the picker and obsidian://rolodex-graph links open; core keeps the Obsidian core graph path unchanged. graphOpenIn (split / tab / here) applies to both. The header has a dropdown with the saved views ({ask} views still prompt), a Reload button and the node/link count; search and title are restored after a restart.

Search syntax (same saved filters as the core graph): bare words and "quoted phrases" (case and accent insensitive, matched against path and frontmatter values), OR (uppercase), implicit AND, ( ), -negation, [property], [property:value], path:, file:, tag:#x (frontmatter and inline tags, nested tags match), and /regex/ terms (what company hub links generate). {base} expands as before; unknown operators are plain words. OR binds tighter than the implicit AND. Colour groups of the core graph (.obsidian/graph.json) tint the rings.

Level of detail: below 400 nodes all images are drawn; above that photos appear when a node is at least image threshold pixels on screen, otherwise plain coloured discs; off-screen nodes are skipped, labels show on hover and when zoomed in. Wheel zooms around the cursor, dragging the background pans, dragging a node pins it while held, click opens the note (Ctrl/Cmd-click: new tab). Settings: link distance (60), repel strength (120), center strength (0.05), image size (1.0, 0.5-2), image threshold (14 px); they apply live to open graphs.

Manual check: reload the plugin (command palette "Reload app without saving", or toggle it in Community plugins), run "Rolodex: graph view To connect"; expect round photos, the console free of errors, and the Obsidian core graph untouched when the engine is core.

Chat pane

The rolodex-views plugin has a chat pane in the right sidebar (ribbon icon message-square, command "Rolodex: open chat"). It talks to the operator's Claude session through the AIBroker app channel (WebSocket ws://<host>:<port>/appchannel, JSON frames v:1: hello then ready, message then ack, reply, error, ping/pong). My messages are bubbles on the right, the session's replies on the left (rendered as markdown, vault links work), with timestamps, a pending marker until the ack, and an error bubble on an error frame. Enter sends, Shift+Enter inserts a newline. "attach current note" (default on) sends context.doc {fileId: <vault-relative path>, title: <basename>}; the hub types [Obsidian-<Vault>:doc file=Companies/Acme.md ...] text into the session and routes replies back only to this pane (the pane that spoke in the last 30 min). History is kept per day in the plugin data (last 200 messages); "Clear" empties it. The client pings every 25 s and reconnects with a 1-30 s backoff; the header shows a status dot (connected / connecting / error text).

Connection config is a file the plugin only reads, never writes or logs: <vault>/.obsidian/plugins/rolodex-views/aibroker.json (not part of the plugin source, so obsidian install-plugin never overwrites it):

{"url": "ws://127.0.0.1:<port>/appchannel", "app": "Obsidian-Rolodex", "token": "<token>", "session": "<session name>", "networkTerm": "<optional>"}

Without the file the pane shows "not configured" with this path. The settings tab shows the values read-only (token masked) and a "Reconnect" button.

Hub side (AIBroker environment): APPCHANNEL_PORT=<port>, APPCHANNEL_BIND=127.0.0.1, APPCHANNEL_TOKENS=Obsidian-Rolodex=<token>; the app in the config must match the name in APPCHANNEL_TOKENS.

Chat mode: a footer chip next to the attach chip switches between "Live" (accent colour, the default, answers are neutralised for a shared screen) and "Private" (full detail). The choice is global (plugin setting chatMode, persisted). The app channel does not render context.extra into the inbound line, so every outgoing message starts with (presenting) or (private) (before any [Chat: <title>] ); the bubble shows the typed text only. Saved _chat/ notes mark each user line, e.g. **You:** (2026-12-01 18:00) [presenting], so the PAI index can tell them apart.

The commands "Rolodex: ask session…" (opens the pane and focuses the input) and "Rolodex: account plan for this company" (only on Companies/ or Accounts/ notes; sends do an account planning for <name> with the note attached) go through the same client. The former aibroker send path and its settings are gone.

Input history and prompt library

Chat threads

The chat pane holds several named chats. The header row shows the current chat title (click to rename), a dropdown of recent chats (last 50, entries read <title> · dd.mm. with the date of the last message, newest first), and a "+" button (tooltip "New chat"; does nothing while the current chat is empty). Chats without messages are not listed (except the current one) and are dropped when you switch away; a chat still titled "Chat"/"New chat" that has messages is titled from its first message, also on load. A "×" button after the dropdown (tooltip "Close chat", command "Rolodex: close chat") removes the current chat from the list and activates the most recently used remaining one (a fresh empty chat if none); the saved note in _chat/ is never deleted. The command "Rolodex: open saved chat" opens a picker over _chat/*.md (newest first) and reopens the note as a chat. A "Save to _chat" button appears only when "Auto-save chats" is off. Each thread has its own history (last 200 messages); the first message of a new chat becomes its title. Every message carries context.extra.thread = {id, title}, and in any thread except the default "Chat" the text sent to the session is prefixed [Chat: <title>] so the session keeps threads apart. A reply is stored in the thread that sent the message it answers (inReplyTo); a reply without it goes to the active thread.

Saving (command "Rolodex: save chat") writes _chat/<YYYY-MM-DD> <title>.md (frontmatter type: chat, created, updated, thread; then **You:** (time) / **Session:** (time) blocks); saving again updates the same file. The setting "Auto-save chats" (default on) saves after every reply. _chat is part of the default graph base (-path:_chat); a graph-views.json with its own base needs -path:_chat added by hand. With a saved chat note open, the command "Continue in chat pane" loads it as a thread.

Progress frames: a session reply whose whole text is one line ⏳ [n/m] text (the [n/m] is optional) is not a bubble. The pane shows one progress row under the last message: spinner, step text, and a thin bar filled n/m (indeterminate animation without [n/m]). Each new progress frame replaces the row's text; earlier steps stay as a small faded checklist above it (max 6). The next normal reply removes the row and the checklist, and so does a 120 s timeout without a new frame. Progress frames are transient: never saved into the _chat note, never in the input history. Example: ⏳ [2/5] Mapping bridges.

The chat input works like a shell prompt: ArrowUp (caret on the first line, or empty input) recalls the previous sent message, ArrowDown the next, and going past the newest restores the unsent draft; Escape restores the draft too. The last 100 sent texts (consecutive duplicates dropped) persist in the plugin data.

The list button next to Send (and the command "Rolodex: insert chat prompt") opens a fuzzy list of saved prompts from _sources/chat-prompts.md and fills the input without sending. One prompt per - list item, ## Heading groups; {note} is the current note's name, {client} the company of the current Companies/ or Accounts/ note (empty elsewhere). The file is created with defaults on first use and never overwritten.

Links in session replies (tables included) open on click and show the hover preview; pipes inside [[..|..]] in table rows are escaped before rendering so the cell does not split.

Graph links on cards. Each contact card carries [Network graph](obsidian://rolodex-graph?…) · [Search](obsidian://search?…) (hubs get the same row). Search uses the quoted plain name ("Jane Roe", no @ ), because Obsidian search treats [[…]] as property syntax and finds nothing. The plugin setting graphOpenIn (split default, tab, here; the old graphInNewTab migrates true to split, false to here) decides where the graph opens; split opens next to the active card and reuses the Rolodex graph split while it is open. migrate rewrites all blocks idempotently.

Deck engine

rolodex deck build <spec.json> <out.pptx> builds any deck in the panel design (navy/blue/teal, 16:9, kicker + title + teal underline + footer + page number) from a JSON spec; rolodex deck open <spec.json> <out.pptx> does the same and reopens it in PowerPoint. Needs python3 with python-pptx; the PDF twin needs LibreOffice (SOFFICE overrides the path). A full example using every slide type: docs/examples/deck-growth.json. Self-check: python3 -I tools/deck/deck.py --selfcheck.

Spec: {title, subtitle, byline, footer, author, slides:[{type, kicker, title, ...}]}. Types and fields:

  • title: title, subtitle, byline (default to the spec's).

  • numbers: chart (kind stacked|clustered, categories, series:[{name, values}], caption, format), tiles:[{big, label}] (up to 4), note:{title, text}.

  • flow: steps:[{title, sub}] (chevrons) → options:[{title, sub}], optional bar chart, cards:[{title, body}], banner:{title, text}.

  • cards: cards:[{title, body, tag}], optional banner.

  • rings: rings:[{title, text}] (2–4 nested), optional cards above.

  • timeline: steps:[{label, text, badge}], optional banner.

  • table: rows (+ bold_rows) or tables:[{rows, bold_rows, share}] side by side; column widths follow content length; optional chart and note below.

  • risks: risks:[{title, mitigation, likelihood, impact}] (2–6; likelihood and impact 0..1): 2×2 likelihood × impact matrix with numbered circles (navy when impact > 0.6) and the numbered mitigations beside it.

  • people: people:[{photo, name, role, points:[…], tag}] (2–4): light card per person with coloured top bar, round photo with teal ring (square-cropped), name, role, bullets and a coloured tag; missing photo gives an initials circle. Photo paths are relative to the spec file or absolute. cards items also accept an optional photo.

  • statement: text, by.

  • annex: divider with title, subtitle.

Every type fills the content area; text shrinks by length instead of overflowing.

deck open order: build into a temp file first (PowerPoint untouched meanwhile), read the current slide of that deck, close only that presentation (never quits PowerPoint), refuse to rebuild when the file was edited on screen since the last build (sha stamp .<name>.sha next to the deck; a "manual edits" copy is kept), move into place, open, size the window (DECK_FILL_JS, optional), go to the saved slide, then write <out>.pdf with LibreOffice in the background. Put the deck inside the vault and Obsidian shows the PDF twin in a pane. DECK_NO_GUI=1 skips PowerPoint steps, DECK_NO_PDF=1 the PDF.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Enables Claude to create, read, update, and search notes in a local Obsidian vault, with automatic YAML frontmatter and folder management.
      7
      1
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables Claude clients to interact with an Obsidian vault as a knowledge graph, supporting full-text search, backlink traversal, neighborhood exploration, and note creation/append.
      41
      61 npm
      18
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables bidirectional interaction with Obsidian vaults, allowing reading, writing, and organizing notes through Claude.
      MIT