MetorialDocs

Set up Leadfeeder in Metorial for Claude, ChatGPT and Cursor

Share Leadfeeder with your team in Claude, ChatGPT and Cursor through Metorial: legacy API token sign-in, 12 tools (11 read-only).

To give your team Leadfeeder in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Leadfeeder integration in a Metorial portal, and each person connects with a legacy API token. Agents can access B2B website visitor leads and tracked website accounts using existing Leadfeeder legacy API credentials. The integration has 12 tools, 11 read-only and 1 write, plus 2 triggers.

What you'll learn

  • How an admin shares Leadfeeder in a portal and how each person connects
  • What Leadfeeder asks for when you connect, and where to find it
  • How to keep the 11 read-only tools and reject the other 1

Before you start

Sign-in method

MethodTypeWhat a person provides
Legacy API TokenAPI tokenapiToken and ipEnrichApiKey

Legacy API Token

To connect, a person enters these values:

  • apiToken: Leadfeeder API token (found in Personal settings > API tokens)
  • ipEnrichApiKey (optional): IP-Enrich API key (separate from the main API token, required for IP enrichment)

Setup settings

Setup also asks for:

  • accountId (optional): Leadfeeder account ID. If not provided, the first available account will be used.

Admin: share Leadfeeder in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Leadfeeder. For how members connect, choose Each person connects so everyone enters their own legacy API token, or Shared connection to enter one legacy API token for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Leadfeeder.

Choose who gets it

Add the access groups that should see Leadfeeder. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Leadfeeder integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search leadfeeder

Employee: connect Leadfeeder

In the portal

Open Leadfeeder in the catalog

Sign in to your portal and open Leadfeeder. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your legacy API token (apiToken).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search leadfeeder
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Leadfeeder connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list leadfeeder
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 11 read-only tools, such as enrich_ip and get_leads, and lose the write tool export_leads.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list leadfeeder
metorial tools <integration-id>
metorial call <integration-id> get_accounts -d '{}'

metorial tools lists the 12 tools, minus any you rejected. get_accounts takes no input. It retrieves all Leadfeeder accounts accessible by the authenticated user.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (11)

  • get_visits: Retrieve visit data for a specific lead or across all leads within a date range. Needs startDate and endDate.
  • get_tracking_script: Retrieve the JavaScript tracking script for a Leadfeeder account.
  • get_leads: Retrieve identified company leads that visited your website within a date range. Needs startDate and endDate.
  • get_accounts: Retrieve all Leadfeeder accounts accessible by the authenticated user.
  • get_lead_details: Retrieve detailed information about a specific lead (company) by ID. Needs leadId.
  • get_export_status: Check the status of a previously submitted lead export request. Needs exportId.
  • enrich_ip: Resolve an IPv4 or IPv6 address to company information using the IP-Enrich API. Needs ipAddress.
  • get_custom_feeds: Retrieve all custom feeds (filtered views of leads) for an account.
  • download_export: Retrieve a downloadable JSON lead report for an existing completed export.
  • get_custom_feed: Inspect a custom lead feed and its filter criteria before retrieving or exporting its leads.
  • get_account: Retrieve a tracked website account, including subscription, timezone, and website tracking status.

Write tools (1)

  • export_leads: Request a bulk export of lead data for a given account and feed over a date range. Needs customFeedId, startDate and endDate.

Triggers

Leadfeeder has 2 triggers, which fire on events in Leadfeeder:

  • inbound_webhook
  • new_leads: Triggers when new company leads are identified visiting your website.

Next steps