consulti-mcp 2.6.2 → 2.6.4
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 +2 -2
- package/dist/leads-search.js +2 -2
- package/dist/server.d.ts +1 -1
- package/dist/server.js +3 -3
- package/package.json +1 -1
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) |
|
package/dist/leads-search.js
CHANGED
|
@@ -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
|
+
export declare const VERSION = "2.6.4";
|
|
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.
|
|
5
|
+
export const VERSION = "2.6.4";
|
|
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.", {
|
|
@@ -48,7 +48,7 @@ export function createConsultiMcpServer(options) {
|
|
|
48
48
|
hasPhone: z.boolean().optional().describe("Filter to only accounts with phone number"),
|
|
49
49
|
hasWebsite: z.boolean().optional().describe("Filter to only accounts with website"),
|
|
50
50
|
countries: z.array(z.string()).optional().describe(`Countries to filter by (exact match). Canonical list: GET ${DEFAULT_BASE_URL}/meta/instagram-countries`),
|
|
51
|
-
excludeListId: z.string().optional().describe("UUID of an INSTAGRAM-kind saved list owned by the API key holder. Profiles on it are removed before billing, so they cost nothing. Another kind, an unknown list or someone else's list returns HTTP 400, a list over 100,000 members returns 422, and a temporary lookup failure returns 503, all before anything is charged (get_lists reports each list's kind). With it the response adds `total_after_exclusion`; both totals then count up to 10001 and can be null on a timeout, so paginate on has_more."),
|
|
51
|
+
excludeListId: z.string().optional().describe("UUID of an INSTAGRAM-kind saved list owned by the API key holder. Profiles on it are removed before billing, so they cost nothing, and so is any profile whose returned email is the email of a profile on it. Another kind, an unknown list or someone else's list returns HTTP 400, a list over 100,000 members returns 422, and a temporary lookup failure returns 503, all before anything is charged (get_lists reports each list's kind). With it the response adds `total_after_exclusion`; both totals then count up to 10001 and can be null on a timeout, so paginate on has_more."),
|
|
52
52
|
sortBy: z.string().optional().describe("Field to sort by (followers, posts, engagement, username)"),
|
|
53
53
|
sortOrder: z.string().optional().describe("Sort order (asc or desc)"),
|
|
54
54
|
page: z.number().optional().describe("Page number (default: 1)"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "consulti-mcp",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.4",
|
|
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": {
|