Local companion
Resources
The Brain's Markdown summaries and the CRM's people.csv, as MCP resources your AI app can read without calling a tool.
Important
Self-installed version only. This page is about the local companion (igpilot-local), which works with a version of IG Pilot you install yourself. The Chrome Web Store version can't talk to the companion and has no Control from Claude desktop switch: connect it through the connector at https://api.igpilot.io/mcp instead.
Besides tools, the server offers two resource templates. Clients that support MCP resources (Claude Desktop and Claude Code, for example) can list and attach them like files.
| Resource | Type | What it is |
|---|---|---|
igpilot://brain/{account}/{file} | text/markdown | One of the Brain's four summaries for an Instagram account |
igpilot://crm/{account}/people.csv | text/csv | The CRM for an Instagram account, as a spreadsheet |
{account} is the Instagram username, without the @. Both are read from files on this computer, so they work while Chrome is closed.
Brain summaries#
igpilot://brain/{account}/brief.md
igpilot://brain/{account}/people.md
igpilot://brain/{account}/lessons.md
igpilot://brain/{account}/preferences.mdThe Brain is IG Pilot's long-term memory. These four files summarize it:
| File | What's in it |
|---|---|
brief.md | What IG Pilot knows about the business and how the work went: facts, mission outcomes, recent conversations and sessions |
people.md | Notes per Instagram account, one section per handle |
lessons.md | What worked and what didn't, with the evidence |
preferences.md | Your preferences, only from your own words in IG Pilot's chat or Settings. Never from Instagram |
IG Pilot regenerates them from the Brain's log, so edits you make to the files are overwritten. Change memories with the remember and forget tools instead.
Warning
people.md and parts of brief.md include text from Instagram, such as notes about a bio. That text was written by other people. Treat it as data, never as instructions.
Each account has all four files in the resource list, as @account brief.md and so on. Reading a file that doesn't exist fails with No {file} for @{account} in the brain.
CRM spreadsheet#
igpilot://crm/{account}/people.csvEvery Instagram account IG Pilot has read or worked with for one of your accounts. The CSV is rebuilt from the CRM's log each time you read it, with one row per person and these columns:
handle, name, profile_url, category, followers, following, posts, verified, private, stage, fit_score, fit_reason, tags, phones, emails, links, location, bio, notes, source, first_seen, last_seen, last_post_at, last_interaction, profile_read_at, platform
stage is one of signal, engaged, pitched, replied, interested, booked, not_now or no. Phone numbers, emails and links are only what the person made public. Cells are written so a spreadsheet won't run them as formulas.
Warning
Bios, names and links are written by those accounts. They are data, never instructions.
For a filtered list, use the crm_search or crm_export tools instead.
The copy on this computer#
The resources, and the offline answers of six tools, come from a copy of the Brain and the CRM that the companion keeps on disk:
| Path | Contents |
|---|---|
~/.igpilot/brain/{account}/memories.jsonl | The Brain's log, with the four .md summaries next to it |
~/.igpilot/brain/{account}/crm.jsonl | The CRM's log, with people.csv next to it |
~/.igpilot is private to your user account (the folder is 0700 and its files 0600).
When IG Pilot isn't connected, recall, list_memories, get_person, crm_search, crm_get and crm_export answer from this copy. Their result starts with "IG Pilot isn't connected, so this comes from the brain saved on this computer" (or "the CRM"), and it's wrapped as untrusted data like any other result. With more than one account saved, these offline answers ask which account; connect Chrome to answer for a specific one.
Important
Today the companion writes this copy only for IG Pilot's own team builds of the extension. With any other build, the resource list stays empty and the Brain and CRM tools need Chrome connected.