LeadSquared MCP by usefulapi

Search leads, list their tasks; create or update leads and post activities in LeadSquared.

Should I use this

Quality & Safety

A
Description quality
98%
Schema completeness
92%
Naming quality
73%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (3)

  • LOWTool 'leadsquared_get_lead_activities' name length outside 3-30 rangein leadsquared_get_lead_activities
  • LOWTool 'leadsquared_get_lead_opportunities' name length outside 3-30 rangein leadsquared_get_lead_opportunities
  • LOWTool 'leadsquared_create_or_update_lead' name length outside 3-30 rangein leadsquared_create_or_update_lead

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,714Tokens (tool definitions)
~1.4 KBTypical response size
Moderate attention impact (1.34% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "leadsquared": {
      "url": "https://leadsquared.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://leadsquared.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (9)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢leadsquared_quick_search_leads(text)

Find leads whose first name, last name, email, phone, mobile, company, city or country contains a text. Same as the Quick Search box in LeadSquared. GET LeadManagement.svc/Leads.GetByQuickSearch.

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "description": "The text to find, for example an email address or a surname."
    }
  },
  "required": [
    "text"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢leadsquared_get_lead(lead_id)

Return one lead's details (name, email, phone, owner, custom fields) by ProspectID. Returns an empty list when the id does not exist. GET LeadManagement.svc/Leads.GetById.

Input Schema

{
  "type": "object",
  "properties": {
    "lead_id": {
      "type": "string",
      "minLength": 1,
      "description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
    }
  },
  "required": [
    "lead_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢leadsquared_search_leads(lookup_name, lookup_value, sql_operator, columns, page_index, ...)

Find leads where one lead field matches a value, for example CreatedOn after a date, or EmailAddress equal to an address. Pass the field's schema name (LookupName) and the operator (SqlOperator, for example = or > or LIKE). POST LeadManagement.svc/Leads.Get.

Input Schema

{
  "type": "object",
  "properties": {
    "lookup_name": {
      "type": "string",
      "minLength": 1,
      "description": "Schema name of the lead field, for example EmailAddress, FirstName or CreatedOn."
    },
    "lookup_value": {
      "type": "string",
      "description": "The value to compare with, for example 2026-01-01 00:00:00 for a date."
    },
    "sql_operator": {
      "type": "string",
      "minLength": 1,
      "description": "Comparison operator: =, <>, >, <, >=, <=, LIKE, or NOT LIKE."
    },
    "columns": {
      "description": "Comma-separated field names to return, for example ProspectID,FirstName,EmailAddress.",
      "type": "string"
    },
    "page_index": {
      "description": "Page number, starting at 1 (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Results per page (default 100).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "lookup_name",
    "lookup_value",
    "sql_operator"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢leadsquared_get_lead_tasks(lead_id)

List the tasks (follow-ups, calls, to-dos) created against one lead. GET LeadManagement.svc/RetrieveTaskByLeadId.

Input Schema

{
  "type": "object",
  "properties": {
    "lead_id": {
      "type": "string",
      "minLength": 1,
      "description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
    }
  },
  "required": [
    "lead_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢leadsquared_get_lead_activities(lead_id, activity_event, offset, row_count)

List the activities (calls, emails, notes, custom activities) of one lead, newest data included. Pass an activity_event code to keep one type only. POST ProspectActivity.svc/Retrieve.

Input Schema

{
  "type": "object",
  "properties": {
    "lead_id": {
      "type": "string",
      "minLength": 1,
      "description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
    },
    "activity_event": {
      "description": "Activity event code, for example 201 for a custom activity. Omit for all types.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "offset": {
      "description": "Page number, starting at 0 (default 0).",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "row_count": {
      "description": "Activities per page (default 10, max 25).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 25
    }
  },
  "required": [
    "lead_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢leadsquared_get_lead_opportunities(lead_id, opportunity_type, page_index, page_size)

List the opportunities linked to one lead, with their fields. Pass opportunity_type to keep one opportunity type only. POST OpportunityManagement.svc/GetOpportunitiesOfLead.

Input Schema

{
  "type": "object",
  "properties": {
    "lead_id": {
      "type": "string",
      "minLength": 1,
      "description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
    },
    "opportunity_type": {
      "description": "Opportunity type code. Omit for all types.",
      "type": "string"
    },
    "page_index": {
      "description": "Page number, starting at 1 (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Results per page (default 100).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "lead_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢leadsquared_list_users

List the users of the LeadSquared account (name, email, role, active status). Use it to find an owner's user id. GET UserManagement.svc/Users.Get.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴leadsquared_create_or_update_lead(fields, search_by)

Create a lead, or update the lead that already has this email address or phone number. Pass the fields as name and value pairs using schema names, for example FirstName, LastName, EmailAddress, Phone, Company. POST LeadManagement.svc/Lead.CreateOrUpdate.

Input Schema

{
  "type": "object",
  "properties": {
    "fields": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Lead field schema name."
          },
          "value": {
            "type": "string",
            "description": "Value to store."
          }
        },
        "required": [
          "name",
          "value"
        ]
      },
      "description": "The lead fields to set."
    },
    "search_by": {
      "description": "Field to match an existing lead on, for example EmailAddress or Phone. Default: email, then phone.",
      "type": "string"
    }
  },
  "required": [
    "fields"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴leadsquared_post_lead_activity(lead_id, activity_event, note, activity_datetime)

Add an activity (for example a note or a custom activity) to one lead. Each call adds a new activity: it is not idempotent. POST ProspectActivity.svc/Create.

Input Schema

{
  "type": "object",
  "properties": {
    "lead_id": {
      "type": "string",
      "minLength": 1,
      "description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
    },
    "activity_event": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Activity event code of the activity type, for example 201 for a custom activity."
    },
    "note": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000,
      "description": "Text of the activity note."
    },
    "activity_datetime": {
      "description": "When the activity happened, as yyyy-mm-dd hh:mm:ss in the account time zone.",
      "type": "string"
    }
  },
  "required": [
    "lead_id",
    "activity_event",
    "note"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded9 tools