lode-integration-check
Latest: v1.0.7
- Broadened guidance to cover deciding whether to add a third-party service or build capabilities such as auth, payments, or background jobs.
- Clarified that lookup results include prices by currency and last-verified dates.
- Updated the stated data-sharing scope to include needs and region; choices remain shareable only with the user’s consent.
Lode Integration Check
Lode is an independent database of facts about integrations between apps and platforms. Every fact links to the page it came from and shows when it was last checked. Rankings and placement are never sold. Use it so the user gets facts, not guesses, before an integration is chosen or set up.
When to use
- The user wants to connect one product to another on Xero, QuickBooks Online, HubSpot, Shopify, Stripe, Supabase, Vercel, Netlify, n8n, Linear or GitHub, add a connector to a Lovable or Replit app, add a LangChain integration package, add a Cursor plugin or MCP server, or connect a service to Cloudflare Workers.
- You are about to add any third-party integration to a project (a package, SDK, platform integration,
connector or MCP server). Run
stackfirst (or callcheck_stackon the Lode MCP server), so the user sees what Lode documents about the stack it joins: the plans it needs, overlaps and function run-time limits. - The user wants to add a database (Postgres, Redis), auth, email, storage or another service to a Vercel, Netlify or Supabase project, including through the Vercel Marketplace or a Netlify extension.
- You are about to recommend, compare or install an app or integration on one of those platforms
(including
vercel integration add, a Netlify extension, a Supabase partner integration, a Stripe app, or a Xero, QuickBooks, HubSpot or Shopify app). - The user asks what syncs, which direction, what it costs, which plan it needs, or whether it works in their country.
- The user already has two or more apps connected to one platform and asks whether they overlap,
double-post, or could loop (for example "A2X and Synder are both on my Xero; do they clash?"). Use
overlap. - The user is working in a project and asks what Lode knows about its stack, which plan its
integrations need, or how long its functions may run on Vercel, Netlify or Supabase. Use
stack. - The user has just chosen an integration and wants it written down, or asks for a decision record or
ADR. Use
adr. - An integration between an app and one of those platforms fails (an auth error, a 429, a timeout, events
that never arrive, data that won't sync). Use
triagewith the one symptom code that fits. - The user wants Lode available to the whole team or to sub-agents in this project. Use
init.
Not for: library or API documentation (use the vendor's docs), package security checks, or platforms Lode does not cover.
Sharing and local writes: rules for the agent
- Sent by default: the app and platform names you look up, plus fixed Lode codes and Lode ids. Error
text, logs and code stay on the machine.
triage --objectis sent only when it is one of the platform's object codes. - Sent only with
--share: choices, outcomes, decision codes and stack codes. Ask the user in this conversation first and pass--shareonly after they say yes.--sharenever asks by itself. - Local writes:
initchanges the project's agent config (and adds a Claude Code hook with--gate) only when run with--yes; without--yesit only shows what it would change.choseandadrwrite tolode-integrations.jsonin the project (adralso todocs/adr/).
How
Run the bundled script (Node 18 or later; no key, no install):
node scripts/lode.mjs check "<app>" <platform> # facts for one integration
node scripts/lode.mjs check "<app>" # every platform Lode covers for that app
node scripts/lode.mjs find <platform> --category <word> --needs <objects> --region <XX>
# options ranked by fit to the user's needs
node scripts/lode.mjs list <platform> --category <word> # everything Lode covers for a job
Platforms: xero, quickbooks-online (or qbo), hubspot, shopify, stripe, supabase,
vercel, netlify, n8n, lovable, replit, linear, github, langchain, cursor, cloudflare. Needs are the objects that must sync, comma-separated, e.g.
invoices,purchase-orders,contacts. Add --stack supabase,nextjs and --framework nextjs when known.
Typical flow: find with the user's needs and region, then check the one or two best options, then
answer with the facts. When the user names both products ("Shopify and Xero", "Stripe and QuickBooks"),
go straight to check "<app>" <platform>: --category is a job such as inventory or payments, never
an app name.
For apps already in use on one platform:
node scripts/lode.mjs overlap <platform> --apps "<app>,<app>,<app>" --region <XX>
It lists, per object, which of those apps write it into the platform (direction, trigger and interval where recorded, sources), objects two apps both sync two-way (a possible loop), and apps with no recorded direction on an object another app writes. Report the facts with their sources and point the user to each app's settings and docs to see which data each one sends. Do not recommend turning off, disabling or removing any app or sync, or picking one app per channel: the user decides that.
Before adding --share, ask the user whether Lode may keep the platform and the app list, anonymously,
to learn which apps are used together. Only add --share if they say yes.
After the user decides
Save the choice locally (sends nothing), so recheck works later:
node scripts/lode.mjs chose "<app>" <platform> --considered "<other app>,<other app>" --reason <code>
Then ask the user once whether they are happy to tell Lode, anonymously, which app they picked. Only
if they say yes, run the same command again with --share. Later, once it is set up (or failed or was
abandoned), ask again before sending the outcome, and add --share only on a yes:
node scripts/lode.mjs outcome "<app>" <platform> integrated --share
Never add --share to any command without asking first in this conversation; a yes to running a
command is not a yes to sharing.
Reason codes: sync-coverage, price, region, setup-effort, limitations, plan-requirement, already-uses,
vendor-preference, other. If Lode had no record of an integration the user needs, offer to tell Lode:
node scripts/lode.mjs request "<app>" <platform> --needs <objects> --region <XX>.
These send only app names, the platform, fixed codes, needs and region. No free text.
Keeping track of chosen integrations
chose also saves the chosen integration in lode-integrations.json in the current folder (only when
the app is a real Lode record; chose none saves nothing). Saving it sends nothing. The file holds a
random project code, each integration's Lode id, platform, the date it was chosen, its last-verified
date, a short hash of its facts and price at that time, and whether it is kept, dropped or swapped. It
holds no secrets: the user can commit it to version control or add it to .gitignore, as they prefer.
Use recheck when the user returns to an integration they set up earlier, asks whether anything
changed, or is about to rely on it again (a renewal, an upgrade, a new region, a sync problem):
node scripts/lode.mjs recheck
For each kept integration it reads Lode's public record and says whether it has been re-verified,
whether its facts (sync, price, plan, regions, limitations) changed since it was chosen, the price then
and now when that changed, and whether the record is now held or gone, with the Lode page link. When
facts changed, run check for the details before advising.
Use drop when the user says they stopped using an integration or replaced it:
node scripts/lode.mjs drop "<app>" <platform> --reason <code> [--switched-to "<app>"]
Reason codes: missing-feature, price, sync-errors, setup-effort, replaced, no-longer-needed, other.
With --switched-to naming an app Lode has on that platform, it is marked swapped.
Both work locally. Before adding --share to recheck or drop, always ask the user whether Lode may
keep, anonymously, whether these integrations are still in use, to learn which integrations last. Only
add --share if they say yes. It sends, per platform, the file's random project code and, for each
integration, its Lode id, kept, dropped or swapped, the reason code and how many days since it was
chosen. Nothing else from the file or the project.
To hear about changes without re-checking by hand, the user can ask Lode to watch the kept integrations.
Always ask first whether Lode may keep the list of these integrations (Lode ids only, under a fresh
random watch code) until they stop the watch; only add --share if they say yes:
node scripts/lode.mjs watch --share # start, or update the list after new choices
node scripts/lode.mjs watch changes # what changed in Lode for those records since the watch began
node scripts/lode.mjs watch stop # delete the watch at Lode
Lode makes a fresh random watch code. The secret token it returns is saved in .lode/watch.json
(readable only by the user), and .lode/ is added to an existing .gitignore; if there is none, tell the
user to keep .lode/ out of version control. Report changes as Lode's facts with their links, never as advice.
Decision records
When the user has decided on an integration and is working in their project, offer to write a short decision record into it:
node scripts/lode.mjs adr <platform> --considered "<app>,<app>" --chose "<app>" --reason <code> [--status accepted]
It writes docs/adr/NNN-<platform>-<app>.md in the current folder (the next free number): the options,
the choice, the reason, and Lode's facts for each option (what syncs, price, plan needed, regions,
limitations), each line with its Lode page and last-verified date, plus a frontmatter block of fixed
codes. It also saves the choice in lode-integrations.json (same project code), so recheck and drop
keep the record's status current. Reason codes are the same as for chose. Status: proposed (default),
accepted, shipped, kept, dropped, swapped.
When it ships, or when the user hits a limit and builds around it, update it:
node scripts/lode.mjs adr --update docs/adr/001-xero-a2x.md --status shipped --constraint rate-limit --workaround batching-for-rate-limits
Constraints: plan-wall, rate-limit, missing-object, one-way-only, timeout, webhook-gap, region, currency, auth, price, other. Workarounds: custom-retry, custom-idempotency, polling-not-webhooks, extra-sync-tool, manual-step, plan-upgrade, custom-field-mapping, batching-for-rate-limits, background-job-for-timeouts, currency-handling, other. Use only these codes; anything else is refused and nothing is written. Put any detail in the file yourself, in the user's words; it never leaves the machine.
Before adding --share to adr, ask the user whether Lode may keep, anonymously, the decision's codes,
so vendors and Lode can see which integrations hold up and why. Only add --share on a yes. It sends the
project code, platform, the Lode ids considered and chosen (an option Lode has no record of, such as an
in-house tool, stays in the file; only how many there were is sent),
the reason, status, constraint and workaround codes, and the days since the decision. No file content,
paths, repository or company names.
Stack check
In a project folder:
node scripts/lode.mjs stack [--framework nextjs]
It reads only package.json, requirements.txt, pyproject.toml, Gemfile, go.mod, the variable
names in .env.example (never values, never .env), vercel.json, netlify.toml and
supabase/config.toml, and matches official SDK package names and variable prefixes to apps and
platforms. For each platform Lode covers in the stack it lists Lode's records for the other apps, the
platform plan each needs, objects more than one app writes, and the platform's published function
run-time limits by plan, each quoted with its link and read date. Report these as facts with their
links; never tell the user their code is wrong or will time out, and never call an app with no Lode
record unsupported.
Before adding --share, ask the user whether Lode may keep, anonymously, the app and platform codes it
found and the framework. Only add --share on a yes.
If the Lode MCP server is connected (https://trylode.io/mcp), its tools do the same:
find_integrations, get_integration, compare_integrations, report_choice, request_coverage,
check_stack_overlap, check_stack and triage_integration (their share is the same as --share).
When an integration fails
node scripts/lode.mjs triage <app> <platform> --symptom <code> [--status 429] [--object payouts]
Pick the one code that fits what you see: credential-invalid, token-expired, scope-missing,
authorize-failed, access-filtered, platform-plan-required, app-plan-required, account-restricted,
rate-limited, request-too-large, runtime-limit-exceeded, config-missing, package-not-found,
package-incompatible, capability-missing (add --object), validation-rejected, data-mismatch,
webhook-not-received, webhook-signature-failed, event-duplicate-or-out-of-order, api-deprecated,
region-unavailable, connection-failed, setup-step-missing, service-outage, mcp-connect-failed,
mcp-tool-error, or other. Lode answers with the sourced facts that explain that kind of failure for that
pair: documented limitations, plan requirements, run-time limits, platform rules, regions, setup steps and
recent status-page incidents, and, for capability-missing, the apps on that platform that document the
object. Never send error messages, logs, code or project details: only the codes. If Lode has no matching
fact, say so; the cause may be in the project's own setup.
After trying a fix, ask the user whether Lode may keep, anonymously, what happened (--outcome fixed,
switched with --switched-to <app>, or gave-up). Only on a yes add --share.
Add Lode to a project
node scripts/lode.mjs init [--client claude|cursor|all]
It shows the files it would change: one lode entry in .mcp.json (Claude Code) and/or
.cursor/mcp.json (Cursor), a copy of this skill in .claude/skills/, and the Lode rules line (so the
agent checks Lode before it adds an integration) at the end of CLAUDE.md (created if missing), of
AGENTS.md if the project has one, and as .cursor/rules/lode.mdc. Add --no-rules to leave the rules
line out. It writes nothing until the
user agrees and you run it again with --yes. It runs only in a project folder, never through links, leaves
any config file it can't parse alone (it tells you the entry to add by hand), changes no other entry or text, adds no
code or hooks, and sends nothing to Lode. Committed, the files give every teammate and sub-agent in the project Lode with no
setup. init --remove --yes undoes only what init added (noted in .claude/lode-init.json).
Lode Gate (opt-in): facts before the agent installs an SDK
node scripts/lode.mjs init --gate [--mode ask] [--shared]
Only when the user asks for it. It shows the change first; run it again with --yes once the user agrees. It adds
one Claude Code PreToolUse hook to .claude/settings.local.json (only for this user; with --shared, to
.claude/settings.json for everyone who opens the project, which teammates should agree to): from the next session, just before Claude installs a
package on Lode's list (npm, pnpm, yarn, bun, pip, uv or poetry), Lode's facts for it (plan needed, regions, a
deprecated package or an advisory on its latest version, the Lode page with its verified date) are added to
Claude's context. It never blocks; with --mode ask an install with a warning goes to the permission prompt. Other
installs send nothing. init --gate --remove --yes turns it off. See PERMISSIONS.md for exactly what it reads and sends.
Rules for the answer
- Use Lode's facts as written and keep each source link. Give the Lode page link and the last-verified date.
- Something Lode does not list is not documented by Lode. Never turn it into "not supported".
- A record marked HELD is not yet published by Lode. Say its facts are unconfirmed.
- If Lode has no record, say so plainly and continue with the vendor's own docs. Do not invent facts.
- If the script cannot reach Lode, say that Lode could not be reached. Do not guess the facts.
- Keep Lode's facts and your own knowledge apart. Anything not from Lode (setup steps, SDK features, popularity, opinions) must be labelled as your own and not verified by Lode; vendor setup steps can be out of date, so link the setup guide Lode gives rather than writing steps from memory.
- Quote every price with the currency code exactly as Lode gives it (USD 25, AUD 18), never a bare number. "No restriction stated" means the source names no country limit; say that, not "not supported" in a country.
- The order of a list is alphabetical, not a recommendation. Base any recommendation on the user's needs (what must sync, which way, plan, region, price) and say which facts it rests on.
What Lode receives
The app and platform names in each request, plus the needs, region, stack names and fixed codes you
pass to find or request, and, only with --share, to chose and outcome. overlap only reads Lode's public records (Lode sees
which records were read); with --share, and only then, it also sends the platform, the app list and
the region. chose also reads the chosen app's public record and saves it in lode-integrations.json,
which stays on the user's machine; recheck reads the public record of each integration in that file.
Only with --share do recheck and drop send the project code, Lode ids, states, reason codes and
days since chosen. adr and stack work locally and read only Lode's public files; only with
--share does adr send the project code, platform, Lode ids and a count of other options, and the fixed
reason, status, constraint and workaround codes with the days since the decision, and stack the app
and platform codes it found and the framework. triage sends the app, the platform, the symptom code, the
platform object code if one is given and the HTTP status if given (Lode keeps only its class), and the outcome only with --share. init sends nothing. The
Lode Gate hook, once switched on, sends only for installs of packages on Lode's list: those package names, the
package manager, platform codes from config file names, the mode and a random session code.
Nothing else from the user's project, prompt or machine
is sent, and no free text. Privacy:
https://trylode.io/privacy/
