consulti-mcp 2.6.2 → 2.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -147,8 +147,8 @@ Search a database of 500M+ B2B leads with filters like job title, industry, loca
147
147
  | `company` | string | Company name to search for |
148
148
  | `empMin` | number | Minimum employee count |
149
149
  | `empMax` | number | Maximum employee count |
150
- | `revenueMin` | number | Minimum annual revenue in USD, whole dollars. |
151
- | `revenueMax` | number | Maximum annual revenue in USD, whole dollars. |
150
+ | `revenueMin` | number | Minimum annual revenue in USD, whole dollars. Leads with no revenue on file, or a corrupt stored value, are excluded when either bound is set. |
151
+ | `revenueMax` | number | Maximum annual revenue in USD, whole dollars. Leads with no revenue on file, or a corrupt stored value, are excluded when either bound is set. |
152
152
  | `excludeTitles` | string[] | Job titles to exclude. Leads matching any of these are removed. |
153
153
  | `excludeListId` | string | UUID of a **lead-kind** saved list owned by the API key holder — leads in this list are excluded from results before billing. Business, podcast, YouTube and Instagram lists return HTTP 400. Canonical singular field name; `exclude_list_id` and other variants also return HTTP 400. |
154
154
  | `page` | number | Page number (default: 1) |
@@ -26,8 +26,8 @@ export const searchB2bLeadsInputShape = {
26
26
  company: z.string().optional().describe("Company name to search for"),
27
27
  empMin: z.number().optional().describe("Minimum employee count"),
28
28
  empMax: z.number().optional().describe("Maximum employee count"),
29
- revenueMin: z.number().int().nonnegative().optional().describe("Minimum annual revenue in USD, whole dollars."),
30
- revenueMax: z.number().int().nonnegative().optional().describe("Maximum annual revenue in USD, whole dollars."),
29
+ revenueMin: z.number().int().nonnegative().optional().describe("Minimum annual revenue in USD, whole dollars. Leads with no revenue on file, or a corrupt stored value, are excluded when either bound is set."),
30
+ revenueMax: z.number().int().nonnegative().optional().describe("Maximum annual revenue in USD, whole dollars. Leads with no revenue on file, or a corrupt stored value, are excluded when either bound is set."),
31
31
  excludeTitles: z
32
32
  .array(z.string().trim().min(1))
33
33
  .max(25)
package/dist/server.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
- export declare const VERSION = "2.6.2";
2
+ export declare const VERSION = "2.6.3";
3
3
  export type ConsultiMcpApiPost = (path: string, body: Record<string, unknown>) => Promise<string>;
4
4
  export type ConsultiMcpApiGet = (path: string) => Promise<string>;
5
5
  /**
package/dist/server.js CHANGED
@@ -2,7 +2,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
2
  import { z } from "zod";
3
3
  import { DEFAULT_BASE_URL, PACKAGE_NAME } from "./constants.js";
4
4
  import { handleSearchB2bLeads, searchB2bLeadsInputObjectSchema } from "./leads-search.js";
5
- export const VERSION = "2.6.2";
5
+ export const VERSION = "2.6.3";
6
6
  /**
7
7
  * Build the Consulti MCP server with every stable tool registered.
8
8
  * Import-safe: does not connect a transport, read env, or start stdio.
@@ -26,7 +26,7 @@ export function createConsultiMcpServer(options) {
26
26
  content: [{ type: "text", text: await apiPost("/enrich/linkedin", { linkedin_url }) }],
27
27
  }));
28
28
  server.registerTool("search_b2b_leads", {
29
- description: "Search a database of B2B leads with filters like job title, industry, location, and company size. Country and state/region alias-group members are equivalent, so names and codes return identical populations. Results are always restricted to leads carrying our verified email label (there is no option to include unverified leads). Cost: 1 lead credit per result returned — reserved up to `size` then refunded down to the actual row count; 0 results = 0 credits. Call get_credits first before large `size` values.",
29
+ description: "Search a database of B2B leads with filters like job title, industry, location, and company size. Country and state/region alias-group members are equivalent, so names and codes return identical populations. Results are always restricted to leads carrying our verified email label (there is no option to include unverified leads). Cost: 1 lead credit per result returned — reserved up to `size` then refunded down to the actual row count; 0 results = 0 credits. Call get_credits first before large `size` values. `annual_revenue` in each result is a number or null: null when no revenue is on file or the stored value is corrupt (corrupt values are excluded when revenueMin or revenueMax is set).",
30
30
  inputSchema: searchB2bLeadsInputObjectSchema,
31
31
  }, async (params) => handleSearchB2bLeads(params, apiPost));
32
32
  server.tool("search_instagram_profiles", "Search a database of Instagram profiles with filters like follower count, category, location, and data quality. Cost: 1 lead credit per result returned — reserved up to `size` then refunded down to the actual row count; 0 results = 0 credits. Call get_credits first before large operations.", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "consulti-mcp",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "description": "Consulti.ai MCP server — 14 stable tools for email verification (incl. catch-all mailbox resolution), B2B lead search/enrichment, LinkedIn-URL enrichment, Instagram profile search, list management, inbox placement tests, and credit-balance checks. Stable surface only; beta endpoints are not exposed via MCP. Compatible with Claude Desktop, Cursor, and any MCP client.",
5
5
  "type": "module",
6
6
  "bin": {