alterlab-mcp-server 1.1.0 → 1.1.1
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 +27 -0
- package/dist/index.js +1 -1
- package/package.json +24 -6
- package/server.json +89 -0
package/README.md
CHANGED
|
@@ -439,6 +439,33 @@ The MCP server returns helpful error messages with suggested next actions:
|
|
|
439
439
|
|
|
440
440
|
---
|
|
441
441
|
|
|
442
|
+
## Agentic Workflows — AI Agents That Scrape the Web
|
|
443
|
+
|
|
444
|
+
AlterLab MCP turns any AI agent into a web-capable agent. Instead of relying on stale training data, your agent can fetch live information from any website during execution.
|
|
445
|
+
|
|
446
|
+
### Use Cases for AI Agents
|
|
447
|
+
|
|
448
|
+
- **Research agents** — scrape multiple sources, cross-reference facts, generate reports with citations
|
|
449
|
+
- **Data pipeline agents** — extract structured product/pricing/job data on a schedule
|
|
450
|
+
- **Competitive intelligence** — monitor competitor pages, track pricing changes, detect new features
|
|
451
|
+
- **Content generation** — scrape real data to ground LLM output in facts, not hallucinations
|
|
452
|
+
- **Lead enrichment** — scrape company websites to enrich CRM records with live data
|
|
453
|
+
- **Compliance monitoring** — check regulatory pages, terms of service, and policy updates
|
|
454
|
+
|
|
455
|
+
### Compatible AI Frameworks and Clients
|
|
456
|
+
|
|
457
|
+
Works with any tool that supports MCP (Model Context Protocol):
|
|
458
|
+
|
|
459
|
+
- **Claude Desktop** / **Claude Code** — Anthropic's AI assistant
|
|
460
|
+
- **Cursor** — AI-powered code editor
|
|
461
|
+
- **Windsurf** — Codeium's AI IDE
|
|
462
|
+
- **Cline** — VS Code AI assistant
|
|
463
|
+
- **GitHub Copilot** — via MCP configuration
|
|
464
|
+
- **Custom agents** — any framework using the MCP SDK (Python, TypeScript, Go)
|
|
465
|
+
- **n8n** — workflow automation via [n8n-nodes-alterlab](https://www.npmjs.com/package/n8n-nodes-alterlab)
|
|
466
|
+
|
|
467
|
+
---
|
|
468
|
+
|
|
442
469
|
## Contributing
|
|
443
470
|
|
|
444
471
|
```bash
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ function createServer(config) {
|
|
|
16
16
|
const client = new client_js_1.AlterLabClient(config);
|
|
17
17
|
const server = new mcp_js_1.McpServer({
|
|
18
18
|
name: "alterlab",
|
|
19
|
-
version: "1.1.
|
|
19
|
+
version: "1.1.1",
|
|
20
20
|
});
|
|
21
21
|
// Register tools
|
|
22
22
|
server.tool("alterlab_scrape", scrape_js_1.scrapeDescription, scrape_js_1.scrapeSchema.shape, (params) => (0, scrape_js_1.handleScrape)(client, params));
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alterlab-mcp-server",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"mcpName": "io.alterlab/mcp-server",
|
|
4
|
+
"version": "1.1.1",
|
|
5
|
+
"description": "MCP server for web scraping, structured data extraction, and screenshots — give Claude, Cursor, Windsurf, and AI agents the ability to scrape any website with automatic anti-bot bypass",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
7
8
|
"bin": {
|
|
@@ -14,13 +15,29 @@
|
|
|
14
15
|
},
|
|
15
16
|
"keywords": [
|
|
16
17
|
"mcp",
|
|
17
|
-
"
|
|
18
|
-
"web-scraping",
|
|
19
|
-
"alterlab",
|
|
18
|
+
"mcp-server",
|
|
20
19
|
"model-context-protocol",
|
|
20
|
+
"web-scraping",
|
|
21
|
+
"scraping",
|
|
22
|
+
"scraper",
|
|
23
|
+
"crawler",
|
|
24
|
+
"crawling",
|
|
25
|
+
"data-extraction",
|
|
26
|
+
"structured-data",
|
|
27
|
+
"screenshot",
|
|
28
|
+
"ai-agent",
|
|
29
|
+
"agentic",
|
|
30
|
+
"llm",
|
|
31
|
+
"llm-tools",
|
|
21
32
|
"claude",
|
|
22
33
|
"cursor",
|
|
23
|
-
"windsurf"
|
|
34
|
+
"windsurf",
|
|
35
|
+
"cline",
|
|
36
|
+
"copilot",
|
|
37
|
+
"anti-bot",
|
|
38
|
+
"headless-browser",
|
|
39
|
+
"proxy",
|
|
40
|
+
"alterlab"
|
|
24
41
|
],
|
|
25
42
|
"author": "AlterLab",
|
|
26
43
|
"license": "MIT",
|
|
@@ -41,6 +58,7 @@
|
|
|
41
58
|
},
|
|
42
59
|
"files": [
|
|
43
60
|
"dist",
|
|
61
|
+
"server.json",
|
|
44
62
|
"README.md",
|
|
45
63
|
"LICENSE"
|
|
46
64
|
]
|
package/server.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://registry.modelcontextprotocol.io/schemas/server.json",
|
|
3
|
+
"name": "io.alterlab/mcp-server",
|
|
4
|
+
"description": "Web scraping and structured data extraction MCP server. Scrape any website with automatic anti-bot bypass (Cloudflare, DataDome, Akamai), extract structured JSON with AI, take screenshots, and manage authenticated sessions. Works with Claude, Cursor, Windsurf, Cline, and any MCP-compatible AI agent.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"url": "https://github.com/RapierCraft/alterlab-mcp-server",
|
|
7
|
+
"source": "github"
|
|
8
|
+
},
|
|
9
|
+
"version_detail": {
|
|
10
|
+
"version": "1.1.1",
|
|
11
|
+
"release_date": "2026-03-31",
|
|
12
|
+
"is_latest": true
|
|
13
|
+
},
|
|
14
|
+
"packages": [
|
|
15
|
+
{
|
|
16
|
+
"registry_type": "npm",
|
|
17
|
+
"name": "alterlab-mcp-server",
|
|
18
|
+
"version": "1.1.1",
|
|
19
|
+
"runtime": "node",
|
|
20
|
+
"runtime_arguments": [],
|
|
21
|
+
"package_arguments": [],
|
|
22
|
+
"environment_variables": [
|
|
23
|
+
{
|
|
24
|
+
"name": "ALTERLAB_API_KEY",
|
|
25
|
+
"description": "Your AlterLab API key (starts with sk_live_). Get one at https://alterlab.io",
|
|
26
|
+
"required": true,
|
|
27
|
+
"is_secret": true
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "ALTERLAB_API_URL",
|
|
31
|
+
"description": "API base URL (defaults to https://api.alterlab.io)",
|
|
32
|
+
"required": false,
|
|
33
|
+
"is_secret": false
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"tools": [
|
|
39
|
+
{
|
|
40
|
+
"name": "alterlab_scrape",
|
|
41
|
+
"description": "Scrape any website with anti-bot bypass and proxy rotation. Returns clean text, HTML, markdown, or JSON."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "alterlab_extract",
|
|
45
|
+
"description": "Extract structured data from any URL using AI. Define a schema and get back typed JSON."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "alterlab_screenshot",
|
|
49
|
+
"description": "Take a screenshot of any webpage with configurable viewport and format."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "alterlab_estimate_cost",
|
|
53
|
+
"description": "Estimate the credit cost of a scrape before running it."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "alterlab_check_balance",
|
|
57
|
+
"description": "Check your current account balance and credit usage."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "alterlab_list_sessions",
|
|
61
|
+
"description": "List all active authenticated browser sessions."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "alterlab_create_session",
|
|
65
|
+
"description": "Create a new authenticated browser session with cookies for logged-in scraping."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "alterlab_get_session",
|
|
69
|
+
"description": "Get details of a specific authenticated session."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "alterlab_update_session",
|
|
73
|
+
"description": "Update cookies or settings on an existing session."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "alterlab_refresh_session",
|
|
77
|
+
"description": "Refresh an authenticated session to extend its lifetime."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "alterlab_validate_session",
|
|
81
|
+
"description": "Validate that a session's cookies are still active and working."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "alterlab_delete_session",
|
|
85
|
+
"description": "Delete an authenticated browser session."
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"remotes": []
|
|
89
|
+
}
|