Skip to main content
Glama
README.md
# @pipeworx/geonode

Fetch a web page as Markdown or HTML, list a site's URLs, crawl a site and run a web search through Geonode's Scraper API, on your own Geonode account.

Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 2106+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

## Tools

- `geonode_extract(url, formats?, render_js?, country?, proxy_type?, headers?, wait_for?, wait_until?, wait_timeout_ms?, timeout_ms?, max_chars?)` — one page as Markdown (default) and/or HTML, with optional JavaScript rendering and a chosen exit country. A bot-challenge page comes back as `error: "upstream_refused"`, `reason: "bot_wall"`, never as content.
- `geonode_map(url, search?, include_subdomains?, ignore_query_parameters?, limit?)` — the URLs found under a site or path (sitemaps plus the seed page's links), each with where it was found. `search` filters the URLs found; it does not query a search engine. No URLs found returns `found: false`.
- `geonode_crawl(url, depth?, limit?, formats?, render_js?, same_domain_only?, include_subdomains?, country?, proxy_type?, wait_*?)` — start a breadth-first crawl and get a `job_id`. `limit` defaults to 10 pages because each crawled page is a billed request.
- `geonode_crawl_status(job_id, page?, page_size?, max_chars?)` — progress and the pages crawled so far, paginated. A crawled page that is a bot-challenge page is listed with `refused: "bot_wall"` and no content.
- `geonode_search(query, locale?, engine?, page?, safe?, time_range?)` — ranked web results with the engine that served them, suggestions and any spelling correction. No results returns `found: false`.

Typical flow: `geonode_map` to find pages, `geonode_extract` for one, or `geonode_crawl` then `geonode_crawl_status` until `finished` is true.

## Auth

BYO only. Pass your Geonode Scraper API key as `_apiKey`. Every request is billed to your Geonode plan (browser rendering costs more). Without a key every tool refuses with `auth_required` and makes no upstream call.

## Data sources

- Geonode, Scraper API — pages are fetched by Geonode's proxy network from whatever site you point it at, and search results come from the search engines Geonode queries. What comes back is what that site or engine shows; the pack adds no data of its own. The target site's terms are your responsibility.

Notes for the next person: no Geonode key was available when this pack was built (2026-12-04). Request fields were checked against Geonode's published tools list and Scraper API reference, and the extract response shape was confirmed by one keyless call to Geonode's own tool server. The map, crawl, crawl-status and search responses, and the search REST route (documented by Geonode only as coming soon), are unconfirmed: the first keyed call after deploy is the real shape check. `botWallSignal` is a minimal stand-in for the web-fetch detector; switch it to the shared detector once fleet #5498 lands.

## Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

```json
{
  "mcpServers": {
    "geonode": {
      "url": "https://gateway.pipeworx.io/geonode/mcp"
    }
  }
}
```

### What this endpoint actually serves

`tools/list` at `https://gateway.pipeworx.io/geonode/mcp` returns the tools in the table
above **plus five Pipeworx tools**: `ask_pipeworx`, `discover_tools`, `ask_pipeworx_grounded`, `company_register_search` and `company_facts`.
`ask_pipeworx` answers a question this pack does not cover by routing across the
whole catalog, without adding a second MCP server.

Add an option to the same URL:

- `https://gateway.pipeworx.io/geonode/mcp?meta=1` lists this pack's tools plus **up to 48 shared Pipeworx tools** (48 when this README was
generated; a connection without an account lists fewer, and its own `tools/list` is the
exact answer on any given day).
- `https://gateway.pipeworx.io/geonode/mcp?meta=0` lists this pack's tools alone.

Or connect to the full Pipeworx gateway to get every pack's tools listed
directly, instead of just this one's:

```json
{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}
```

Both URLs reach the same gateway and the same 2106+ data sources. The
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
reaches all of them from either one (it is not listed on a `?meta=0` connection).

## No MCP client? Call it over HTTP

This pack takes your own API key (`_apiKey`) — we don't front one for it, so there's no curl here that would run without it. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/geonode_extract`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.

## Run it from npm

`@pipeworx/mcp-geonode` is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with `npx`, and it forwards every call to the same
`https://gateway.pipeworx.io/geonode/mcp` endpoint shown above. It needs network access;
there is no offline mode.

```json
{
  "mcpServers": {
    "geonode": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-geonode"]
    }
  }
}
```

Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
`"env": { "PIPEWORX_API_KEY": "<your key>" }` to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.

It lists **only** this pack's tools by default. Set `PIPEWORX_META_TOOLS=1` to
also list `ask_pipeworx` and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in `fetch` does not read `HTTPS_PROXY` by
default. Newer Node releases honour it when `NODE_USE_ENV_PROXY=1` is set; check
your Node version's documentation.

## Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English —
this works on the pack endpoint above as well as on the full gateway:

```
ask_pipeworx({ question: "your question about Geonode data" })
```

The gateway picks the right tool and fills the arguments automatically.

## More

- [Docs and guides](https://pipeworx.io/docs)
- [pipeworx.io](https://pipeworx.io)

## License

MIT