Skip to content
Back to search

datlab-mcp

MCP server that wraps DatLab's six Apify actors. You supply your own Apify token.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/datlabhq--datlab-mcp/badge.svg)](/listings/datlabhq--datlab-mcp)

HTML

<a href="/listings/datlabhq--datlab-mcp"><img src="/api/listings/datlabhq--datlab-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

1. Create an Apify account if you do not have one, and mint a personal API token in the console. Do not commit the token. 2. Run the server with that token in the environment.

The packaged image is `ghcr.io/datlabhq/datlab-mcp`. In Cursor, Claude Desktop, or any MCP client that speaks stdio:

{
  "mcpServers": {
    "datlab": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "APIFY_TOKEN", "ghcr.io/datlabhq/datlab-mcp:0.1.0"],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

From source

There is no npm package on the public npm registry. To run from this repo, either use npx against GitHub or build a local clone.

{
  "mcpServers": {
    "datlab": {
      "command": "npx",
      "args": ["-y", "github:datlabhq/datlab-mcp"],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}
git clone https://github.com/datlabhq/datlab-mcp.git
cd datlab-mcp
npm install
npm run build

Then point the client at `node /path/to/datlab-mcp/dist/index.js`, with `APIFY_TOKEN` in `env`.

The process talks MCP on stdin/stdout. Keep logs off stdout. The server starts and can list tools even if `APIFY_TOKEN` is missing. The token is read only when a tool is called.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 96 lines
  1. # DatLab MCP server
  2. An MCP server that wraps the six public DatLab actors on [Apify Store](https://apify.com/datlab). It runs as a local stdio process. You pass your own Apify API token. The server never ships with one.
  3. Use this when an agent should call a hosted DatLab actor instead of writing a one-off scraper. The actors cover jobs, US federal contract notices, sitemaps, page-to-Markdown, site crawls, and screenshots. They stay cheap because the work is batched and billed per result, with a free monthly allowance on each actor.
  4. Do not use this when you only need a single HTTP fetch you could do yourself, or when the page sits behind a login, a captcha, or a paywall. The actors only touch public data, they honour robots.txt and rate limits, and they strip personal contact details.
  5. Source: https://github.com/datlabhq/datlab-mcp
  6. ## Tools
  7. Each tool maps to one actor. Set a max (`maxItems`, `maxUrls`, or `maxCrawlPages`) so the run cannot surprise you on price. Failed and robots-blocked pages are not billed on the Markdown tools.
  8. | Tool | Actor | Use it when | Cost, after the monthly free allowance |
  9. | --- | --- | --- | --- |
  10. | `ats_job_listings` | [datlab/ats-job-listings](https://apify.com/datlab/ats-job-listings) | Open jobs from Personio, Teamtailor, Workable or Recruitee careers pages | First 100 jobs free / UTC month, then $0.0015 per job + $0.00005 start |
  11. | `sam_gov_contract_opportunities` | [datlab/sam-gov-contract-opportunities](https://apify.com/datlab/sam-gov-contract-opportunities) | US federal SAM.gov notices, no SAM.gov API key | First 100 notices free / UTC month, then $0.0015 per notice + $0.00005 start |
  12. | `sitemap_change_monitor` | [datlab/sitemap-change-monitor](https://apify.com/datlab/sitemap-change-monitor) | Every URL in a sitemap, or the added / removed / lastmod diffs since last run | First 500 URLs and 10 page checks free / UTC month, then $0.0003 per URL, $0.002 per page check + $0.00005 start |
  13. | `web_page_to_markdown` | [datlab/web-page-to-markdown](https://apify.com/datlab/web-page-to-markdown) | You already have exact URLs and want clean Markdown | First 100 pages free / UTC month, then $0.0005 HTTP or $0.001 browser page + $0.00005 start |
  14. | `site_to_markdown_crawler` | [datlab/site-to-markdown-crawler](https://apify.com/datlab/site-to-markdown-crawler) | You want a whole docs site or section as Markdown | First 300 pages free / UTC month, then $0.0001 HTTP or $0.00035 browser page + $0.00005 start |
  15. | `bulk_website_screenshot` | [datlab/bulk-website-screenshot](https://apify.com/datlab/bulk-website-screenshot) | PNG, JPEG or PDF screenshots, with a public image URL back | First 25 screenshots free / UTC month (start fee still applies), then $0.0006 per shot + $0.003 start |
  16. Tool input schemas are the useful actor fields, not every option. `urls` and `startUrls` on the Markdown and screenshot tools are plain string lists. The server turns them into the `{ "url": "..." }` objects Apify expects.
  17. You can also pin the same actors on Apify's own hosted MCP server with no local process: `https://mcp.apify.com/?tools=datlab/ats-job-listings,datlab/sam-gov-contract-opportunities,datlab/sitemap-change-monitor,datlab/web-page-to-markdown,datlab/site-to-markdown-crawler,datlab/bulk-website-screenshot`. This repo is the open-source, self-hosted option, and the one you can list in MCP directories.
  18. ## Setup
  19. 1. Create an Apify account if you do not have one, and mint a personal API token in the console. Do not commit the token.
  20. 2. Run the server with that token in the environment.
  21. The packaged image is `ghcr.io/datlabhq/datlab-mcp`. In Cursor, Claude Desktop, or any MCP client that speaks stdio:
  22. ```json
  23. {
  24. "mcpServers": {
  25. "datlab": {
  26. "command": "docker",
  27. "args": ["run", "-i", "--rm", "-e", "APIFY_TOKEN", "ghcr.io/datlabhq/datlab-mcp:0.1.0"],
  28. "env": {
  29. "APIFY_TOKEN": "your-apify-token"
  30. }
  31. }
  32. }
  33. }
  34. ```
  35. ### From source
  36. There is no npm package on the public npm registry. To run from this repo, either use npx against GitHub or build a local clone.
  37. ```json
  38. {
  39. "mcpServers": {
  40. "datlab": {
  41. "command": "npx",
  42. "args": ["-y", "github:datlabhq/datlab-mcp"],
  43. "env": {
  44. "APIFY_TOKEN": "your-apify-token"
  45. }
  46. }
  47. }
  48. }
  49. ```
  50. ```bash
  51. git clone https://github.com/datlabhq/datlab-mcp.git
  52. cd datlab-mcp
  53. npm install
  54. npm run build
  55. ```
  56. Then point the client at `node /path/to/datlab-mcp/dist/index.js`, with `APIFY_TOKEN` in `env`.
  57. The process talks MCP on stdin/stdout. Keep logs off stdout. The server starts and can list tools even if `APIFY_TOKEN` is missing. The token is read only when a tool is called.
  58. ## Example
  59. Call `web_page_to_markdown` with `{ "urls": ["https://example.com"], "scrapingTool": "raw-http" }`. You get one dataset item back, including `markdown`, `wordCount`, and `metadata.title`.
  60. Call `sam_gov_contract_opportunities` with `{ "keywords": ["software"], "postedWithinDays": 7, "maxItems": 20 }`. You get up to 20 recent notices, with `noticeId`, `title`, `noticeType`, `postedDate`, and `url`.
  61. ## Development
  62. ```bash
  63. npm install
  64. npm test
  65. npm run build
  66. ```
  67. CI runs typecheck, tests, and the build on every push to `main`.
  68. ## License
  69. MIT. Brand is DatLab.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.