scrapercity 1.0.57 → 1.0.59
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/AGENT_DOCS.txt +2 -0
- package/bin/cli.mjs +11 -0
- package/lib/catalog.generated.mjs +1 -1
- package/lib/utilityTools.mjs +1 -0
- package/package.json +2 -1
package/AGENT_DOCS.txt
CHANGED
|
@@ -256,6 +256,8 @@ DATABASES (GET; included on the $149/mo plan and up, 100k new records/day; on a
|
|
|
256
256
|
GET /api/v1/database/leads?title=CTO&country=United States&hasEmail=true&page=1&limit=100
|
|
257
257
|
Filters: title, industry, country, state, city, companyName, companyDomain,
|
|
258
258
|
seniority, department, hasEmail, hasPhone, minEmployees, maxEmployees, socialUrl
|
|
259
|
+
emailStatus=valid: only people whose email our checker answered valid in the last 90 days
|
|
260
|
+
(every lead returned has email_check_status valid; implies hasEmail; same price per lead)
|
|
259
261
|
Company filters: keywords (company tags, whole-word, any match), revenueMin, revenueMax (USD),
|
|
260
262
|
companyCountry, companyState, companyCity (company HQ, not the person)
|
|
261
263
|
Exclusions: notTitle, notKeywords, notIndustry
|
package/bin/cli.mjs
CHANGED
|
@@ -18,6 +18,14 @@ async function main() {
|
|
|
18
18
|
switch (cmd) {
|
|
19
19
|
|
|
20
20
|
// ── Auth ──────────────────────────────────────────────
|
|
21
|
+
// ── MCP server ────────────────────────────────────────
|
|
22
|
+
// "npx scrapercity mcp" starts the MCP server (stdio), the same as the scrapercity-mcp bin.
|
|
23
|
+
// MCP registries start a package as "npx scrapercity <args>", so this is how they launch it.
|
|
24
|
+
case 'mcp': {
|
|
25
|
+
await import('../bin/mcp.mjs')
|
|
26
|
+
return
|
|
27
|
+
}
|
|
28
|
+
|
|
21
29
|
case 'login': {
|
|
22
30
|
const key = args[0] || await ask('API key: ')
|
|
23
31
|
sc.saveApiKey(key.trim())
|
|
@@ -381,6 +389,7 @@ async function main() {
|
|
|
381
389
|
'--company-country': 'companyCountry', '--company-state': 'companyState',
|
|
382
390
|
'--company-city': 'companyCity', '--not-title': 'notTitle',
|
|
383
391
|
'--not-keywords': 'notKeywords', '--not-industry': 'notIndustry',
|
|
392
|
+
'--email-status': 'emailStatus',
|
|
384
393
|
'--technologies': 'technologies', '--technologies-all': 'technologiesAll',
|
|
385
394
|
'--not-technologies': 'notTechnologies' }
|
|
386
395
|
// List filters take commas: --country "United States,Canada" sends both.
|
|
@@ -537,6 +546,7 @@ ScraperCity CLI - B2B lead generation from your terminal
|
|
|
537
546
|
|
|
538
547
|
Auth:
|
|
539
548
|
scrapercity login [key] Save API key to ~/.scrapercityrc
|
|
549
|
+
scrapercity mcp Start the MCP server (stdio)
|
|
540
550
|
scrapercity wallet Check balance and plan
|
|
541
551
|
|
|
542
552
|
Scrapers:
|
|
@@ -580,6 +590,7 @@ ScraperCity CLI - B2B lead generation from your terminal
|
|
|
580
590
|
scrapercity db-leads [filters] Query lead database
|
|
581
591
|
--title --industry --country --state --city --company --domain --seniority --department
|
|
582
592
|
--min-employees --max-employees --has-email --has-phone
|
|
593
|
+
--email-status valid Only people whose email our checker answered valid in the last 90 days
|
|
583
594
|
--keywords --revenue-min --revenue-max --company-country --company-state --company-city
|
|
584
595
|
--not-title --not-keywords --not-industry
|
|
585
596
|
--technologies --technologies-all --not-technologies Website technologies: any of / all of / none of (comma separated)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED by scripts/generate.mjs — DO NOT EDIT BY HAND.
|
|
2
2
|
// Source of truth: scraperConfigs.ts (+ src/config/scrapers.ts). Regenerate: npm run generate
|
|
3
|
-
// Generated: 2026-11-
|
|
3
|
+
// Generated: 2026-11-29T06:03:07.953Z
|
|
4
4
|
export const TOOLS = [
|
|
5
5
|
{
|
|
6
6
|
"name": "scrape_apollo",
|
package/lib/utilityTools.mjs
CHANGED
|
@@ -103,6 +103,7 @@ export const UTILITY_TOOLS = [
|
|
|
103
103
|
socialUrl: { type: 'string', description: 'Match a social profile URL' },
|
|
104
104
|
hasEmail: { type: 'boolean', description: 'Only contacts with email' },
|
|
105
105
|
hasPhone: { type: 'boolean', description: 'Only contacts with phone' },
|
|
106
|
+
emailStatus: { type: 'string', enum: ['valid'], description: 'valid: only people whose email our checker answered valid in the last 90 days (every lead returned has email_check_status valid). Implies hasEmail. Fewer leads match; the price per lead is the same.' },
|
|
106
107
|
page: { type: 'number', description: 'Page number (default 1)', default: 1 },
|
|
107
108
|
limit: { type: 'number', description: 'Results per page (max 100)', default: 50 },
|
|
108
109
|
excludeDelivered: { type: 'boolean', description: 'Skip leads this account already has (from the API or unlocked in the dashboard). With this on, keep page at 1 or use after.' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scrapercity",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.59",
|
|
4
|
+
"mcpName": "io.github.scrapercity/scrapercity-cli",
|
|
4
5
|
"description": "ScraperCity SDK, CLI & MCP Server - B2B lead generation for AI agents and developers",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "./lib/index.mjs",
|