mcpField
C
crawlport

crawlport

Local
github.com/CloudCorpRecordsBrowser Automation0Updated 2w ago

About crawlport

crawlport is a CLI and MCP server that provides Firecrawl-backed web collection and research capabilities. It is for agents and terminal users who need to scrape pages, discover URLs, crawl sites, extract structured data, search, or generate llms.txt.

Key features

  1. 01Scrapes pages into readable content
  2. 02Maps URLs and crawls sites
  3. 03Searches the web
  4. 04Extracts data to a prompt or schema
  5. 05Runs batch scrapes and deep research
  6. 06Generates llms.txt content

Use cases

  1. 01Retrieve readable content from a web page
  2. 02Discover and crawl selected site pages
  3. 03Search and research across web sources
  4. 04Extract page fields into a defined schema

MCP support

The MCP server exposes Firecrawl tools for scraping, mapping, searching, crawling, extraction, research, batch jobs, and llms.txt generation. It requires a Firecrawl API key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"cloudcorprecords-crawlport": {
"command": "npx",
"args": [
"-y",
"@reneturcios/crawlport"
]
}
}
}
Run commandnpx -y @reneturcios/crawlport

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@reneturcios/crawlport0.1.0
ocighcr.io/cloudcorprecords/crawlport:0.1.0

Tools

10

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
urlstringYesURL of the single page to scrape.
proxystringNoProxy mode to use for the scrape request, as accepted by the Firecrawl API.
actionsarrayNoBrowser actions to perform before scraping, as Firecrawl action objects.
formatsarrayNoOutput formats to return for the scraped page, e.g. markdown or html.
timeoutintegerNoPer-request timeout in milliseconds for the scrape.
waitForintegerNoMilliseconds to wait for the page to settle before scraping.
blockAdsbooleanNoWhen true, block ads and popups while scraping the page.
excludeTagsarrayNoHTML tags to exclude from the scraped output.
includeTagsarrayNoHTML tags to include in the scraped output; when set, only content in these tags is returned.
onlyMainContentbooleanNoWhen true, return only the page's main content, excluding navigation and other boilerplate.

Details

From the project README

crawlport

crawlport is a doorway between an agent and the readable web, backed by Firecrawl. Give it one page and it hands back clean markdown; give it a whole site and it will map the pages, crawl a section, or scrape a list in batch; give it a question and it can search, pull structured fields out of pages to a schema you describe, research across many sources, or draft the llms.txt a site would publish about itself. It runs as a CLI or as an MCP server, and it needs a Firecrawl API key.

Setup

Get a key from Firecrawl and export it:

export FIRECRAWL_API_KEY=<redacted>

Without the variable set, every command and tool call fails with an error that names FIRECRAWL_API_KEY — nothing is sent anywhere.

Install

npx @reneturcios/crawlport scrape https://example.com/some/page

Or run the container image:

docker run -i -e FIRECRAWL_API_KEY ghcr.io/cloudcorprecords/crawlport

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

# One page, as markdown (add --formats html,links etc. for more)
crawlport scrape https://example.com/article --only-main-content

# Discover a site's URLs, optionally filtered
crawlport map https://example.com --search pricing --limit 100

# Web search, with locale controls
crawlport search "standing desk reviews" --limit 5 --lang en --country US

# Start a crawl, then poll it with the returned job id
crawlport crawl https://example.com/docs --limit 50 --max-depth 2
crawlport crawl-status <job-id>

# Structured extraction and batch scraping
crawlport extract https://example.com/a https://example.com/b --prompt "pull the price"
crawlport batch-scrape https://example.com/a https://example.com/b
crawlport batch-status <job-id>

# Research and llms.txt
crawlport deep-research "home battery storage costs in 2026" --max-urls 40
crawlport llmstxt https://example.com --max-urls 25

crawlport --version

Successful calls print the API's JSON response. Crawl and batch jobs are asynchronous upstream: the start call returns a job id, and the matching status command reads its progress and results. Exit codes: 0 on success, 1 when the API call fails (including a missing key), 2 for usage errors.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

npx -y @reneturcios/crawlport mcp

MCP client configuration:

{
  "mcpServers": {
    "crawlport": {
      "command": "npx",
      "args": ["-y", "@reneturcios/crawlport", "mcp"],
      "env": { "FIRECRAWL_API_KEY": "your-key-here" }
    }
  }
}
Tools
ToolInputWhat it does
firecrawl_scrapeurl (required); formats, onlyMainContent, waitFor, timeout, actions, includeTags, excludeTags, blockAds, proxy (optional)Scrape one page via POST /v1/scrape.
firecrawl_mapurl (required); search, limit, ignoreSitemapList a site's discovered URLs via POST /v1/map.
firecrawl_searchquery (required); limit, lang, country, scrapeOptionsWeb search via POST /v1/search, optionally scraping each result.
firecrawl_crawlurl (required); limit, maxDepth, allowBackwardLinks, allowExternalLinks, excludePaths, includePaths, scrapeOptionsStart a crawl via POST /v1/crawl; returns a job id.
firecrawl_check_crawl_statusid (required)Poll a crawl job via GET /v1/crawl/{id}.
firecrawl_extracturls (required); prompt, schema, enableWebSearch, allowExternalLinksLLM extraction to a prompt/schema via POST /v1/extract.
firecrawl_batch_scrapeurls (required); formats, onlyMainContentStart a batch scrape via POST /v1/batch/scrape; returns a job id.
firecrawl_check_batch_statusid (required)Poll a batch job via GET /v1/batch/scrape/{id}.
firecrawl_deep_researchquery (required); maxDepth, timeLimit, maxUrlsMulti-source research via POST /v1/deep-research.
firecrawl_generate_llmstxturl (required); maxUrls, showFullTextGenerate llms.txt content via POST /v1/llmstxt.

Tool results are the upstream JSON, pretty-printed as text. Optional arguments are forwarded only when provided, so the API's defaults apply otherwise. Upstream failures come back as tool errors carrying the HTTP status and the API's own message.

Development

npm install
npm run build   # tsc -> dist/
npm test        # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.