peoplesearch-mcp 1.3.0 → 1.4.0
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 +22 -5
- package/index.mjs +36 -1
- package/package.json +5 -2
- package/server.json +3 -3
package/README.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
<img src="assets/logo-400.png" alt="PeopleSearch.im" width="80" height="80">
|
|
2
|
+
|
|
1
3
|
# PeopleSearch.im MCP server
|
|
2
4
|
|
|
3
5
|
Give your AI agent [PeopleSearch.im](https://peoplesearch.im/mcp?utm_source=github&utm_medium=readme&utm_campaign=mcp-repo):
|
|
4
6
|
search a global professional database in plain English, reveal full profiles, and fetch verified
|
|
5
|
-
professional (work) emails
|
|
6
|
-
|
|
7
|
+
professional (work) emails for one person or a whole list (paste a lead list, a candidate list or a CRM
|
|
8
|
+
export into the chat and `find_work_emails` answers up to 25 people per call), plus email verification
|
|
9
|
+
(one address or a list of 50 with `verify_emails`),
|
|
10
|
+
reverse email lookup, LinkedIn lookups, and company lookups. Searching is free; lookups are refunded
|
|
11
|
+
automatically when nothing is found.
|
|
7
12
|
|
|
8
13
|
Listed in the [Official MCP Registry](https://registry.modelcontextprotocol.io) as `im.peoplesearch/email-finder`.
|
|
9
14
|
|
|
@@ -24,7 +29,14 @@ connector (choose OAuth).
|
|
|
24
29
|
|
|
25
30
|
**Claude:** add the URL above as a custom connector (Settings > Connectors).
|
|
26
31
|
|
|
27
|
-
**Claude Code:**
|
|
32
|
+
**Claude Code:** install the plugin, which adds the server and a skill for working through a whole list of people
|
|
33
|
+
or addresses (a CSV, a CRM export, pasted rows):
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
/plugin install peoplesearch --marketplace founden-bot/peoplesearch-mcp
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
or add the server alone:
|
|
28
40
|
|
|
29
41
|
```bash
|
|
30
42
|
claude mcp add --transport http peoplesearch https://peoplesearch.im/api/mcp
|
|
@@ -79,7 +91,8 @@ claude mcp add --transport http peoplesearch https://peoplesearch.im/api/mcp \
|
|
|
79
91
|
|
|
80
92
|
## Connect (local stdio bridge)
|
|
81
93
|
|
|
82
|
-
For clients that only speak stdio, this repository is a zero-dependency bridge (`index.mjs`, Node 18
|
|
94
|
+
For clients that only speak stdio, this repository is a zero-dependency bridge (`index.mjs`, Node 18+, on npm as
|
|
95
|
+
[`peoplesearch-mcp`](https://www.npmjs.com/package/peoplesearch-mcp)). It
|
|
83
96
|
speaks MCP over stdio and forwards each tool call to the PeopleSearch.im REST API with your API key:
|
|
84
97
|
|
|
85
98
|
```json
|
|
@@ -87,13 +100,15 @@ speaks MCP over stdio and forwards each tool call to the PeopleSearch.im REST AP
|
|
|
87
100
|
"mcpServers": {
|
|
88
101
|
"peoplesearch": {
|
|
89
102
|
"command": "npx",
|
|
90
|
-
"args": ["-y", "
|
|
103
|
+
"args": ["-y", "peoplesearch-mcp"],
|
|
91
104
|
"env": { "PEOPLESEARCH_API_KEY": "sk_sift_..." }
|
|
92
105
|
}
|
|
93
106
|
}
|
|
94
107
|
}
|
|
95
108
|
```
|
|
96
109
|
|
|
110
|
+
Agents setting this up for a user (Cline and the like): see [llms-install.md](llms-install.md).
|
|
111
|
+
|
|
97
112
|
Or clone the repository and run `node index.mjs` with `PEOPLESEARCH_API_KEY` set.
|
|
98
113
|
`PEOPLESEARCH_BASE_URL` optionally overrides the API base (default `https://peoplesearch.im`).
|
|
99
114
|
|
|
@@ -108,7 +123,9 @@ Or clone the repository and run `node index.mjs` with `PEOPLESEARCH_API_KEY` set
|
|
|
108
123
|
| `find_people` | Search and unlock a batch of people in one charge | 1 credit per person unlocked |
|
|
109
124
|
| `fetch_email` | Verified work email for an unlocked person | 1 credit (refunded if none) |
|
|
110
125
|
| `find_work_email` | A named person's verified work email from their name and company | 2 credits (refunded if none) |
|
|
126
|
+
| `find_work_emails` | Verified work emails for a list of up to 25 people (names and companies, or LinkedIn URLs) in one call | 2 credits per email found (3 from a LinkedIn URL); none found costs nothing |
|
|
111
127
|
| `find_email_from_linkedin` | The verified work email behind a LinkedIn profile URL | 3 credits (refunded if none) |
|
|
128
|
+
| `verify_emails` | Check a list of up to 50 addresses in one call | 1 credit per mailbox checked (free for malformed or no-mail domains, unknowns refunded) |
|
|
112
129
|
| `verify_email` | Check whether an address exists and is safe to send to | 1 credit (refunded if no verdict) |
|
|
113
130
|
| `find_company_emails` | Role-based addresses (sales@, support@...) for a company | 2 credits (refunded if none) |
|
|
114
131
|
| `find_linkedin_profile` | A person's LinkedIn URL from their name | 2 credits (refunded if no match) |
|
package/index.mjs
CHANGED
|
@@ -47,6 +47,16 @@ const TOOLS = [
|
|
|
47
47
|
description: "Find and verify the professional (work) email of a person you can name: first name, last name and their company (its domain is most exact). 2 credits, refunded if no email is found.",
|
|
48
48
|
inputSchema: S({ first_name: str("First name."), last_name: str("Last name."), domain_or_company: str("The company's domain (most exact, e.g. stripe.com) or its name.") }, ["first_name", "last_name", "domain_or_company"]),
|
|
49
49
|
rest: (a) => ({ method: "POST", path: "/api/v1/tools", body: { tool: "work-email-finder", input: { firstname: a.first_name, lastname: a.last_name, domainOrCompany: a.domain_or_company } } }) },
|
|
50
|
+
{ name: "find_work_emails", title: "Find work emails for a list of people",
|
|
51
|
+
description: "Find and verify the work emails of a whole list of people in one call (a lead list, candidates, attendees, a CRM export): up to 25 people, each as first name, last name and company (its domain is most exact) or as their LinkedIn profile URL. Answers every person in the order given with their email and confidence, or why none was found. 2 credits per email found by name, 3 from a LinkedIn URL; people with no email found cost nothing, and a person listed twice is looked up once.",
|
|
52
|
+
inputSchema: S({ people: { type: "array", minItems: 1, maxItems: 25, description: "1-25 people, each {first_name, last_name, company_or_domain} or {linkedin_url}.",
|
|
53
|
+
items: S({ first_name: str("First name (a full name also works when last_name is empty)."), last_name: str("Last name."), company_or_domain: str("The company's domain (most exact, e.g. stripe.com) or its name."), linkedin_url: str("Their LinkedIn profile URL, instead of name and company.") }, []) } }, ["people"]),
|
|
54
|
+
// Run by the remote server's own tool (one implementation: the same lookups, charges and refunds as find_work_email).
|
|
55
|
+
remote: true },
|
|
56
|
+
{ name: "verify_emails", title: "Verify a list of email addresses",
|
|
57
|
+
description: "Check up to 50 email addresses in one call before sending (format, the domain's mail servers, then the mailbox itself, without sending). Answers every address in order with verdict (deliverable, undeliverable, risky, unknown) and reason. 1 credit per mailbox check; malformed addresses and domains that take no email are free, unknowns refunded, a repeat checked once.",
|
|
58
|
+
inputSchema: S({ emails: { type: "array", minItems: 1, maxItems: 50, items: { type: "string" }, description: "1-50 email addresses." } }, ["emails"]),
|
|
59
|
+
remote: true },
|
|
50
60
|
{ name: "verify_email", title: "Verify an email address",
|
|
51
61
|
description: "Check whether an email exists and is safe to send to, without sending. 1 credit, refunded if no verdict.",
|
|
52
62
|
inputSchema: S({ email: str("The email to verify.") }, ["email"]),
|
|
@@ -96,6 +106,7 @@ async function callRest(tool, args) {
|
|
|
96
106
|
if (!API_KEY) {
|
|
97
107
|
return { content: [{ type: "text", text: "Set PEOPLESEARCH_API_KEY to your key from https://peoplesearch.im/developers." }], isError: true };
|
|
98
108
|
}
|
|
109
|
+
if (tool.remote) return callRemote(tool, args);
|
|
99
110
|
const { method, path, body } = tool.rest(args || {});
|
|
100
111
|
let res, data;
|
|
101
112
|
try {
|
|
@@ -121,6 +132,30 @@ async function callRest(tool, args) {
|
|
|
121
132
|
};
|
|
122
133
|
}
|
|
123
134
|
|
|
135
|
+
/** A tool the remote MCP server runs itself (https://peoplesearch.im/api/mcp, the same key as a Bearer). */
|
|
136
|
+
async function callRemote(tool, args) {
|
|
137
|
+
let res, text;
|
|
138
|
+
try {
|
|
139
|
+
res = await fetch(BASE + "/api/mcp", {
|
|
140
|
+
method: "POST",
|
|
141
|
+
headers: { Authorization: `Bearer ${API_KEY}`, "Content-Type": "application/json", Accept: "application/json, text/event-stream" },
|
|
142
|
+
body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "tools/call", params: { name: tool.name, arguments: args || {} } }),
|
|
143
|
+
});
|
|
144
|
+
text = await res.text();
|
|
145
|
+
} catch (e) {
|
|
146
|
+
return { content: [{ type: "text", text: `Request to PeopleSearch.im failed: ${e && e.message ? e.message : "network error"}.` }], isError: true };
|
|
147
|
+
}
|
|
148
|
+
if (res.status === 401) return { content: [{ type: "text", text: "Unauthorized: check PEOPLESEARCH_API_KEY." }], isError: true };
|
|
149
|
+
// A Streamable HTTP server may answer as an event stream: the JSON-RPC message is its data line.
|
|
150
|
+
const json = (res.headers.get("content-type") || "").includes("text/event-stream")
|
|
151
|
+
? (text.split("\n").find((l) => l.startsWith("data:")) || "").slice(5).trim()
|
|
152
|
+
: text;
|
|
153
|
+
let msg;
|
|
154
|
+
try { msg = JSON.parse(json); } catch { return { content: [{ type: "text", text: `Unexpected answer from PeopleSearch.im (HTTP ${res.status}).` }], isError: true }; }
|
|
155
|
+
if (msg.error) return { content: [{ type: "text", text: msg.error.message || "The call failed." }], isError: true };
|
|
156
|
+
return msg.result;
|
|
157
|
+
}
|
|
158
|
+
|
|
124
159
|
async function handle(msg) {
|
|
125
160
|
if (!msg || msg.jsonrpc !== "2.0" || typeof msg.method !== "string") return rpcError(msg && msg.id, -32600, "Invalid Request");
|
|
126
161
|
const isNotification = msg.method.startsWith("notifications/") || !("id" in msg) || msg.id === undefined;
|
|
@@ -133,7 +168,7 @@ async function handle(msg) {
|
|
|
133
168
|
return ok(id, {
|
|
134
169
|
protocolVersion: version,
|
|
135
170
|
capabilities: { tools: { listChanged: false } },
|
|
136
|
-
serverInfo: { name: "peoplesearch.im", title: "PeopleSearch.im", version: "1.
|
|
171
|
+
serverInfo: { name: "peoplesearch.im", title: "PeopleSearch.im", version: "1.4.0" },
|
|
137
172
|
instructions: "PeopleSearch.im people-data tools. Searching is free; reveals and lookups cost credits (most 1, refunded when nothing is found). Set PEOPLESEARCH_API_KEY from https://peoplesearch.im/developers.",
|
|
138
173
|
});
|
|
139
174
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "peoplesearch-mcp",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "MCP server for PeopleSearch.im:
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "MCP server for PeopleSearch.im: verified work emails for one person or a whole list, people and company search, and LinkedIn lookups from your AI agent.",
|
|
5
5
|
"mcpName": "im.peoplesearch/email-finder",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"model-context-protocol",
|
|
22
22
|
"people-search",
|
|
23
23
|
"email-finder",
|
|
24
|
+
"lead-list",
|
|
25
|
+
"email-enrichment",
|
|
26
|
+
"bulk-email-finder",
|
|
24
27
|
"email-verification",
|
|
25
28
|
"lead-generation",
|
|
26
29
|
"b2b-data",
|
package/server.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "im.peoplesearch/email-finder",
|
|
4
4
|
"title": "PeopleSearch.im",
|
|
5
|
-
"description": "
|
|
6
|
-
"version": "1.
|
|
5
|
+
"description": "Verified work emails for a person or a whole list, plus people search and LinkedIn lookup.",
|
|
6
|
+
"version": "1.4.0",
|
|
7
7
|
"websiteUrl": "https://peoplesearch.im/mcp",
|
|
8
8
|
"remotes": [
|
|
9
9
|
{
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"registryType": "npm",
|
|
29
29
|
"identifier": "peoplesearch-mcp",
|
|
30
|
-
"version": "1.
|
|
30
|
+
"version": "1.4.0",
|
|
31
31
|
"transport": {
|
|
32
32
|
"type": "stdio"
|
|
33
33
|
},
|