> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to the Leadfeeder MCP server

The Leadfeeder MCP connector routes your AI agent's tool calls to Leadfeeder's own MCP server through Scalekit. Each user signs in to Leadfeeder once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 58 tools.

**Authentication:** OAuth2.1/DCR
**Categories:** CRM & Sales, Analytics, Marketing
**Tools:** 58: 37 read, 17 write, 4 destructive
**Users sign in with:** OAuth
**OAuth app:** Your own Leadfeeder MCP server app
**Built by:** Vendor MCP
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=LEADFEEDERMCP)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Leadfeeder MCP connection

   In **AgentKit > Connections**, create a Leadfeeder MCP connection and copy its redirect URI. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

4. ### Register an OAuth app

   Leadfeeder MCP server connections use your own OAuth app. Register one with Leadfeeder MCP server and add the redirect URI you copied.

   Then enter the app's Client ID and Client Secret on the Leadfeeder MCP connection.

5. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'leadfeedermcp'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Leadfeeder MCP:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'leadfeedermcp_get_current_user_info',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "leadfeedermcp"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Leadfeeder MCP:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="leadfeedermcp_get_current_user_info",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'leadfeedermcp_enrich_ip',
  toolInput: {
    account_id: '<account_id>',
    ip: '<ip>',
  },
  connector: 'leadfeedermcp',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="leadfeedermcp_enrich_ip",
    tool_input={
        "account_id": "<account_id>",
        "ip": "<ip>",
    },
    connection_name="leadfeedermcp",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `leadfeedermcp_enrich_ip`

EnrichIp · Read-only

Look up company information associated with a given IP address. Returns firmographic data for the organization behind the IP.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `ip` (`string`, required): A valid IPv4 or IPv6 address to enrich with company information.

Example input: `{"account_id":"<account_id>","ip":"<ip>"}`

### `leadfeedermcp_estimate_company_enrichment_job`

EstimateCompanyEnrichmentJob · Read-only

Estimate the credit cost of a company enrichment job before running it.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): Enrichment job estimate parameters including attributes that specify the target companies and custom field to enrich.

Example input: `{"account_id":"<account_id>","data":{}}`

### `leadfeedermcp_estimate_find_contact_data_job`

EstimateFindContactDataJob · Read-only

Estimate the credit cost for enriching contacts with email and phone data. Accepts either explicit `contact_ids` or a `list_id` to target an entire list. Returns the number of eligible contacts and the estimated total credits that would be consumed.
Credit Note: This endpoint does not consume credits.

Requires the `contacts:read` OAuth2 scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): Job definition object. Must include an 'attributes' field with either contact_ids or list_id.

Example input: `{"account_id":"<account_id>","data":{}}`

### `leadfeedermcp_get_account_info`

GetAccountInfo · Read-only

Retrieves a list of Leadfeeder accounts associated with this API key. When listing all accounts, only the account names are returned. Detailed credit information is accessible only when querying a specific account.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, optional): The Leadfeeder Account ID. When provided, the response returns a single account including credit details. If omitted, it returns a list of all accessible accounts without credit information.

Example input: `{}`

### `leadfeedermcp_get_buyer_persona`

GetBuyerPersona · Read-only

Retrieve a specific buyer persona by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The buyer persona ID.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_get_buyer_personas`

GetBuyerPersonas · Read-only

Retrieve all buyer personas defined in a Leadfeeder account.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_get_campaign`

GetCampaign · Read-only

Retrieve details of a specific campaign by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The campaign ID.
- `include` (`string`, optional): Comma-separated list of related resources to inline. Supported: campaign_summary, campaign_settings, campaign_locations, list, custom_feed.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_get_campaign_stats`

GetCampaignStats · Read-only

Retrieve performance statistics for a specific campaign.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `end_period` (`string`, required): Inclusive end of the reporting window (ISO 8601 calendar date, YYYY-MM-DD). Must be on or after start_period.
- `frequency` (`string`, required): Bucket granularity for the returned stats series. One of: `day`, `week`, `month`.
- `id` (`string`, required): The campaign ID.
- `start_period` (`string`, required): Inclusive start of the reporting window (ISO 8601 calendar date, YYYY-MM-DD). Must be on or before end_period.
- `page_num` (`integer`, optional): Page of results to fetch.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.

Example input: `{"account_id":"<account_id>","end_period":"<end_period>","frequency":"day","id":"<id>","start_period":"<start_period>"}`

### `leadfeedermcp_get_campaigns`

GetCampaigns · Read-only

Retrieve all campaigns in a Leadfeeder account.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `include` (`string`, optional): Comma-separated list of related resources to inline. Supported: campaign_summary, campaign_settings, campaign_locations, list, custom_feed.
- `page_num` (`integer`, optional): Page of results to fetch.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_get_companies_by_ids`

GetCompaniesByIds · Read-only

Fetch one or more companies by their Leadfeeder IDs in a single call. Pass IDs comma-separated in the ids parameter (up to 100 IDs). Accessing company data consumes credits.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `ids` (`string`, required): Comma separated list of company IDs. A maximum of 100 IDs can be passed to this endpoint.
- `include` (`string`, optional): Specify which additional data should be attached to the result. One of: `group_company`, `tags`, `lists`, `web_visits`, `icps`, `crm_connections`, `crm_connections.crm_record`, `crm_connections.crm_record.crm_owner`, `crm_suggestions`, `crm_suggestions.crm_record`, `crm_suggestions.crm_record.crm_owner`, `crm_group_connections`, `crm_group_connections.crm_connection`, `crm_group_connections.crm_connection.crm_record`, `crm_group_connections.crm_connection.crm_record.crm_owner`.

Example input: `{"account_id":"<account_id>","ids":"<ids>"}`

### `leadfeedermcp_get_company`

GetCompany · Read-only

Fetch detailed information about a specific company, including firmographics and hierarchy information. Accessing full deep data consumes 1 credit, unless the company was already accessed within the last 12 months.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The company's ID. Note that the older string-based ID format continues to be supported.
- `include` (`string`, optional): Specify which additional data should be attached to the result. One of: `group_company`, `tags`, `lists`, `web_visits`, `icps`, `crm_connections`, `crm_connections.crm_record`, `crm_connections.crm_record.crm_owner`, `crm_suggestions`, `crm_suggestions.crm_record`, `crm_suggestions.crm_record.crm_owner`, `crm_group_connections`, `crm_group_connections.crm_connection`, `crm_group_connections.crm_connection.crm_record`, `crm_group_connections.crm_connection.crm_record.crm_owner`.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_get_company_enrichment_job`

GetCompanyEnrichmentJob · Read-only

Check the status and results of a company enrichment job.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `job_id` (`string`, required): The unique identifier of the enrichment job.

Example input: `{"account_id":"<account_id>","job_id":"<job_id>"}`

### `leadfeedermcp_get_company_financials`

GetCompanyFinancials · Read-only

Returns all financial reports for a given company. Accessing financial data consumes 1 credit per company if not accessed within the last 12 months.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The company's ID. Note that the older string-based ID format continues to be supported.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_get_company_ips`

GetCompanyIps · Read-only

Fetch known IP addresses associated with given companies. Retrieving IP data consumes 1 credit per company unless accessed within the last 12 months.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `company_ids` (`string`, required): A comma-separated list of company IDs. Accepts up to 100 company IDs per request.
- `include` (`string`, optional): Specify which additional data should be attached to the result. When 'company' is included, the full company attributes are inlined. One of: `company`.
- `max_ip_addresses` (`integer`, optional): Maximum number of IP addresses to return per company. Results are ordered by confidence score (highest first). Default: `10`.

Example input: `{"account_id":"<account_id>","company_ids":"<company_ids>"}`

### `leadfeedermcp_get_contact`

GetContact · Read-only

Fetch detailed information about a specific contact by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The contact's ID. Note that the older string-based ID format continues to be supported.
- `include` (`string`, optional): Specify which additional data should be attached to the result. One of: `company`, `lists`, `buyer_personas`, `crm_connections`, `crm_connections.crm_record`, `crm_connections.crm_record.crm_owner`, `crm_suggestions`, `crm_suggestions.crm_record`, `crm_suggestions.crm_record.crm_owner`.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_get_contacts`

GetContacts · Read-only

Retrieve a paginated list of contacts from Leadfeeder.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `ids` (`string`, required): Comma separated list of contact IDs. A maximum of 100 IDs can be passed to this endpoint.
- `include` (`string`, optional): Specify which additional data should be attached to the result. One of: `company`, `lists`, `buyer_personas`, `crm_connections`, `crm_connections.crm_record`, `crm_connections.crm_record.crm_owner`, `crm_suggestions`, `crm_suggestions.crm_record`, `crm_suggestions.crm_record.crm_owner`.

Example input: `{"account_id":"<account_id>","ids":"<ids>"}`

### `leadfeedermcp_get_current_user_info`

GetCurrentUserInfo · Read-only

Retrieves the identity of the current API user. Unlike most endpoints, this one does not require the account_id parameter — the user's identity is independent of the account they are currently working on.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `leadfeedermcp_get_custom_field`

GetCustomField · Read-only

Retrieve a specific custom field by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The custom field internal name.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_get_custom_fields`

GetCustomFields · Read-only

Retrieve the list of all custom field definitions available in the account. The response includes each field's attributes.

Credit Note: Retrieving custom field definitions does not consume credits.

Requires the `custom_fields:read` OAuth2 scope.

Pagination: use page_num to page through results, starting at 1. Increment by 1 for each subsequent page. Stop when page_num exceeds meta.pagination.page_count. page_size controls how many items are returned per page (default: 20, max: 100).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `filter_scope` (`string`, optional): Filter by entities that apply to either company or contact. If omitted, returns both kinds of entities. One of: `company`, `contact`.
- `filter_type` (`string`, optional): Filter by field type. If omitted, returns all field types. One of: `text`, `number`, `boolean`, `date`, `contact_collection`, `ai_score`, `ai_text`, `ai_number`, `ai_boolean`.
- `page_num` (`integer`, optional): Page of results to fetch.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_get_find_contact_data_job`

GetFindContactDataJob · Read-only

Retrieve the current status of a Find Contact Data job. Returns progress counters, credit consumption, and any errors.
Jobs are retained for 7 days after completion.
Credit Note: This endpoint does not consume credits.

Requires the `contacts:read` OAuth2 scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `job_id` (`string`, required): The unique identifier of the find contact data job.

Example input: `{"account_id":"<account_id>","job_id":"<job_id>"}`

### `leadfeedermcp_get_icp`

GetIcp · Read-only

Retrieve a specific Ideal Customer Profile (ICP) definition by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The ICP ID.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_get_icps`

GetIcps · Read-only

Retrieve all Ideal Customer Profile (ICP) definitions in a Leadfeeder account.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_get_list`

GetList · Read-only

Retrieve the details of a specific list using its unique ID. The response includes the list's attributes, such as its name and scope, along with any related information.

Credit Note: Retrieving list definitions does not consume credits.

Requires the `lists:read` OAuth2 scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The list ID.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_get_lists`

GetLists · Read-only

Retrieve all lists available in the account. The response includes each list's attributes and can be filtered through query parameters.

Credit Note: Retrieving list definitions does not consume credits.

Requires the `lists:read` OAuth2 scope.

Pagination: use page_num to page through results, starting at 1. Increment by 1 for each subsequent page. Stop when page_num exceeds meta.pagination.page_count. page_size controls how many items are returned per page (default: 20, max: 100).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `filter_scope` (`string`, required): Filter by entities that apply to either company or contact. One of: `company`, `contact`.
- `page_num` (`integer`, optional): Page of results to fetch.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.

Example input: `{"account_id":"<account_id>","filter_scope":"company"}`

### `leadfeedermcp_get_tag`

GetTag · Read-only

Retrieve details of a specific tag by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The tag ID.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_get_tags`

GetTags · Read-only

Retrieve all tags defined in a Leadfeeder account.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `page_num` (`integer`, optional): Page of results to fetch.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_get_web_visits_companies`

GetWebVisitCompanies · Read-only

Retrieve companies identified from web visits, with details about their visit activity.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `end_date` (`string`, required): End of the date range (ISO 8601).
- `start_date` (`string`, required): Start of the date range (ISO 8601).
- `custom_feed_id` (`string`, optional): Filter results to companies matching a specific custom feed.
- `include` (`string`, optional): Specify which additional data should be attached to the result. One of: `company`.
- `page_num` (`integer`, optional): Page of results to fetch.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.

Example input: `{"account_id":"<account_id>","end_date":"<end_date>","start_date":"<start_date>"}`

### `leadfeedermcp_get_web_visits_custom_feed`

GetWebVisitCustomFeed · Read-only

Retrieve details of a specific web visit custom feed by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `custom_feed_id` (`string`, required): The ID of the custom feed.
- `include` (`string`, optional): Specify which additional data should be attached to the result. One of: `folder`.

Example input: `{"account_id":"<account_id>","custom_feed_id":"<custom_feed_id>"}`

### `leadfeedermcp_get_web_visits_custom_feed_folders`

ListWebVisitCustomFeedFolders · Read-only

Retrieve all folder groupings for web visit custom feeds in a Leadfeeder account.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `include` (`string`, optional): Specify which additional data should be attached to the result. One of: `custom_feeds`.

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_get_web_visits_custom_feeds`

ListWebVisitCustomFeeds · Read-only

Retrieve all custom feeds for web visits in a Leadfeeder account.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `include` (`string`, optional): Specify which additional data should be attached to the result. One of: `folder`.

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_get_web_visits_tracker`

GetWebVisitsTracker · Read-only

Retrieve tracking script configuration and status for web visit tracking.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_match_companies`

MatchCompanies · Read-only

Find matching companies based on the provided input parameters. Returns matching company IDs and basic company information. Each company object must include at least one of: company_name, url, vat_id, or register_id. Matches do not consume credits.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `companies` (`array`, required): Array of company objects to match (up to 200). Each must include at least one of: company_name, url, vat_id, or register_id.
- `max_results_per_company` (`number`, optional): Number of maximum results per company match input object. Default: `5`.

Example input: `{"account_id":"<account_id>","companies":[]}`

### `leadfeedermcp_search_companies`

SearchCompanies · Read-only

Search companies by name, location, industry, size, and other filters. Returns matching company IDs and basic company info. Searches do not consume credits. Pagination: pass page_cursor from meta.pagination.next_cursor to fetch the next page. Stop when next_cursor is null.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `employee_ranges` (`array`, optional): List of employee count ranges to filter companies by size.
- `filters` (`object`, optional): Object containing additional boolean filters to refine search results. All filters are combined using AND.
- `icp_ids` (`array`, optional): List of Ideal Customer Profile (ICP) IDs. Returns companies matching at least one ICP (OR logic).
- `industries` (`object`, optional): Object specifying industry classification filters. Use the internal classification by default.
- `locations` (`array`, optional): Search in the company address. Multiple locations are combined as OR.
- `page_cursor` (`string`, optional): Cursor for pagination. Use this value to fetch the next page of results.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.
- `revenue` (`object`, optional): Defines a revenue range filter. Specify at least one of min or max.
- `search_terms` (`array`, optional): List of strings to match against company name, alternative names, trade name and domain(s).

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_search_companies_signals`

SearchCompaniesSignals · Read-only

Retrieve signals for a specified set of company IDs. The response returns the signals linked to the provided companies. Credits are charged 1 per company if the company has signals and there was no active deep data access within the last 12 months. Pagination: pass page_cursor from meta.pagination.next_cursor to fetch the next page.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `company_ids` (`array`, required): Array of company IDs to filter signals for (mandatory).
- `categories` (`array`, optional): Filter to search for signals in specific categories.
- `event_date` (`object`, optional): Filter signals by event date (YYYY-MM-DD). If both from and to are provided, from must be earlier than or equal to to.
- `page_cursor` (`string`, optional): Cursor for pagination. Use this value to fetch the next page of results.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.
- `publication_date` (`object`, optional): Filter signals by publication date (YYYY-MM-DD). If both from and to are provided, from must be earlier than or equal to to.

Example input: `{"account_id":"<account_id>","company_ids":[]}`

### `leadfeedermcp_search_contacts`

SearchContacts · Read-only

Search for contacts using filters such as name, email, company, or other attributes.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `affiliation` (`string`, optional): Determines how the contact is related to the company. One of: `employee`, `group_employee`, `related`.
- `buyer_persona_ids` (`array`, optional): List of buyer persona IDs to use as a filter.
- `company_ids` (`array`, optional): Filter contacts by Leadfeeder company IDs.
- `departments` (`array`, optional): The departments the contact works in within the company.
- `emails` (`array`, optional): Filter contacts by email addresses.
- `filters` (`object`, optional): Filter down search results (combined with AND).
- `hierarchy_levels` (`array`, optional): Filter contacts by hierarchy level within the company.
- `page_cursor` (`string`, optional): Cursor for pagination. Use this value to fetch the next page of results.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.
- `positions` (`array`, optional): Search in orig and en fields.
- `search_terms` (`array`, optional): Search in contact fullname and title fields.

Example input: `{"account_id":"<account_id>"}`

### `leadfeedermcp_search_web_visits`

SearchWebVisits · Read-only

Search and filter web visit records to identify companies that visited your website.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `end_date` (`string`, required): The end of the date range to search (inclusive). Must be a valid ISO 8601 date.
- `start_date` (`string`, required): The start of the date range to search (inclusive). Must be a valid ISO 8601 date.
- `filters` (`object`, optional): Optional filters to narrow visit records by company ID or visitor location.
- `include` (`string`, optional): Specify which additional data should be attached to the result. One of: `company`.
- `page_num` (`integer`, optional): Page of results to fetch.
- `page_size` (`integer`, optional): The number of items per page. Maximum is 100. Default: `20`.

Example input: `{"account_id":"<account_id>","end_date":"<end_date>","start_date":"<start_date>"}`

### `leadfeedermcp_usage`

Usage · Read-only

Retrieve current API usage and credit consumption for a Leadfeeder account.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `end_period` (`string`, required): The ending month for the usage period, formatted as YYYY-MM. Must be greater than or equal to start_period.
- `start_period` (`string`, required): The starting month for the usage period, formatted as YYYY-MM.

Example input: `{"account_id":"<account_id>","end_period":"<end_period>","start_period":"<start_period>"}`

### `leadfeedermcp_add_company_to_lists`

AddCompanyToLists · Write

Allows the addition of this company to one or more lists. Since lists are a separate entity, the IDs that you must pass in this endpoint come from the Retrieve Lists and Get List Details endpoints. Adding a company to lists does not consume credits.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`array`, required): Array of list references to add the company to.
- `id` (`string`, required): The company's ID. Note that the older string-based ID format continues to be supported.

Example input: `{"account_id":"<account_id>","data":[],"id":"<id>"}`

### `leadfeedermcp_add_contact_to_lists`

AddContactToLists · Write

Add a contact to one or more Leadfeeder lists.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`array`, required): Array of list references to add the contact to.
- `id` (`string`, required): The contact's ID. Note that the older string-based ID format continues to be supported.

Example input: `{"account_id":"<account_id>","data":[],"id":"<id>"}`

### `leadfeedermcp_assign_tags_to_company`

AssignTagsToCompany · Write

Assign one or more tags to a Leadfeeder company.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`array`, required): Array of tag references to assign to the company.
- `id` (`string`, required): The company's ID. Note that the older string-based ID format continues to be supported.

Example input: `{"account_id":"<account_id>","data":[],"id":"<id>"}`

### `leadfeedermcp_create_company_enrichment_job`

CreateCompanyEnrichmentJob · Write

Start an async job to enrich a batch of companies with additional data. Returns a job ID to track progress.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): Enrichment job creation parameters. Provide exactly one of company_ids or list_id, plus a custom_field_id identifying the AI field to enrich.

Example input: `{"account_id":"<account_id>","data":{}}`

### `leadfeedermcp_create_custom_field`

CreateCustomField · Write

Create a new custom field in a Leadfeeder account.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): The request body containing the custom field definition.

Example input: `{"account_id":"<account_id>","data":{}}`

### `leadfeedermcp_create_find_contact_data_job`

CreateFindContactDataJob · Write

CRITICAL: CREDIT-CONSUMING TOOL
Using this tool MAY consume Leadfeeder credits. You MUST follow this protocol:
1. PAUSE: Do not execute this tool automatically.
2. INFORM: Tell the user this action may consume credits.
3. CONFIRM: Ask the user for an explicit Yes/No confirmation to proceed.
4. EXECUTE: Only call this tool after receiving clear, affirmative consent.

Trigger an asynchronous job to enrich the given contacts with email and phone data. Accepts either explicit `contact_ids` or a `list_id` to target an entire list. The job runs in the background; poll the status endpoint to check progress.
Credit Note: Credits are consumed as contacts are enriched.

Requires the `contacts:read` OAuth2 scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): Job definition object. Must include an 'attributes' field with either contact_ids or list_id.

Example input: `{"account_id":"<account_id>","data":{}}`

### `leadfeedermcp_create_list`

CreateList · Write

Create a new list in the account.

Requires the `lists:write` OAuth2 scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): List definition object with required type and attributes fields.

Example input: `{"account_id":"<account_id>","data":{}}`

### `leadfeedermcp_create_tag`

CreateTag · Write

Create a new tag in a Leadfeeder account.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): The request body containing the tag definition.

Example input: `{"account_id":"<account_id>","data":{}}`

### `leadfeedermcp_create_web_visits_custom_feed`

CreateWebVisitCustomFeed · Write

Create a new custom feed to filter and segment web visit data.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): The custom feed object to create, including type and attributes.

Example input: `{"account_id":"<account_id>","data":{}}`

### `leadfeedermcp_remove_company_from_lists`

RemoveCompanyFromLists · Write

Remove a company from one or more Leadfeeder lists.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`array`, required): Array of list references to remove the company from.
- `id` (`string`, required): The company's ID. Note that the older string-based ID format continues to be supported.

Example input: `{"account_id":"<account_id>","data":[],"id":"<id>"}`

### `leadfeedermcp_remove_contact_from_lists`

RemoveContactFromLists · Write

Allows the removal of this contact from one or more lists.

Credit Note: Removing a contact from lists does not consume credits.

Requires the `contacts:write` OAuth2 scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`array`, required): Array of list references to remove the contact from.
- `id` (`string`, required): The contact's ID. Note that the older string-based ID format continues to be supported.

Example input: `{"account_id":"<account_id>","data":[],"id":"<id>"}`

### `leadfeedermcp_unassign_tags_from_company`

UnassignTagsFromCompany · Write

Remove one or more tags from a Leadfeeder company.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`array`, required): Array of tag references to unassign from the company.
- `id` (`string`, required): The company's ID. Note that the older string-based ID format continues to be supported.

Example input: `{"account_id":"<account_id>","data":[],"id":"<id>"}`

### `leadfeedermcp_update_campaign`

UpdateCampaign · Write

Update the settings or configuration of an existing campaign.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): Campaign update payload containing attributes and optional relationships to modify.
- `id` (`string`, required): The campaign ID.

Example input: `{"account_id":"<account_id>","data":{},"id":"<id>"}`

### `leadfeedermcp_update_custom_field`

UpdateCustomField · Write

Update the definition of an existing custom field.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): The request body containing updated custom field attributes.
- `id` (`string`, required): The custom field internal name.

Example input: `{"account_id":"<account_id>","data":{},"id":"<id>"}`

### `leadfeedermcp_update_list`

UpdateList · Write

Update the name of a list.

Credit Note: Updating list name does not consume credits.

Requires the `lists:write` OAuth2 scope.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): List update payload with required type and attributes fields.
- `id` (`string`, required): The list ID.

Example input: `{"account_id":"<account_id>","data":{},"id":"<id>"}`

### `leadfeedermcp_update_tag`

UpdateTag · Write

Update the name or settings of an existing tag.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `data` (`object`, required): The request body containing updated tag attributes.
- `id` (`string`, required): The tag ID.

Example input: `{"account_id":"<account_id>","data":{},"id":"<id>"}`

### `leadfeedermcp_update_web_visits_custom_feed`

UpdateWebVisitCustomFeed · Write

Update the configuration of an existing web visit custom feed.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `custom_feed_id` (`string`, required): The ID of the custom feed to update.
- `data` (`object`, required): The update payload containing type and attributes to modify.

Example input: `{"account_id":"<account_id>","custom_feed_id":"<custom_feed_id>","data":{}}`

### `leadfeedermcp_delete_custom_field`

DeleteCustomField · Destructive

Permanently delete a custom field from a Leadfeeder account.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The custom field internal name.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_delete_list`

DeleteList · Destructive

Delete a list from the account. Once removed, the list will no longer be accessible.

Credit Note: Deleting list does not consume credits.

Requires the `lists:write` OAuth2 scope.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The list ID.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_delete_tag`

DeleteTag · Destructive

Permanently delete a tag from a Leadfeeder account.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `id` (`string`, required): The tag ID.

Example input: `{"account_id":"<account_id>","id":"<id>"}`

### `leadfeedermcp_delete_web_visits_custom_feed`

DeleteWebVisitCustomFeed · Destructive

Permanently delete a web visit custom feed.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
- `custom_feed_id` (`string`, required): The ID of the custom feed to delete.

Example input: `{"account_id":"<account_id>","custom_feed_id":"<custom_feed_id>"}`

## Related

Other CRM & Sales connectors ([all 103](/agentkit/connectors/?category=crm-sales)):

- [Insightly](/agentkit/connectors/insightly/): Scalekit connector, API key, 108 tools
- [HubSpot](/agentkit/connectors/hubspot/): Scalekit connector, OAuth, 457 tools
- [Salesforce](/agentkit/connectors/salesforce/): Scalekit connector, OAuth, 74 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
