urlhub for developers and AI

urlhub works without clicking too: build a link to a set, read a set as Markdown or JSON, make a short link, or let Claude or ChatGPT do it. No account and no API key.

The links of a page in one click

Drag the button below to your bookmarks bar. Then, on any page, select the part with the links – a list of products, search results, an email open in the browser – and click the bookmark: urlhub opens in a new tab with the links of the selection, those behind words too. With nothing selected it takes the address of the page you are on.

To urlhub

The bookmark cannot see other tabs – only a browser extension could. It works on a computer; on a phone, bookmarks with code usually do not. Some sites block them with their security settings. The links reach urlhub just as if they were pasted.

Sharing from a phone

On Android, add urlhub to your home screen (in Chrome: menu ⋮ → “Add to Home screen” or “Install app”). urlhub then shows up in other apps’ Share menu: a shared page, or a text with links, opens in it as a set. Safari on the iPhone does not offer this.

A link to a set

Just build the address: links separated by spaces in the urls parameter (encoded as in any address), the language in lang (en or pl), and view=tiles for pictures (the table is the default). Up to 200 links. Send this address as it is: it opens the set in a browser. It never expires, as the whole list is in it.

https://urlhub.cloud/?urls=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMars%20https%3A%2F%2Fgithub.com%2Fsveltejs%2Fkit&lang=en

A set as text

Add format=md (Markdown) or format=json to the address of any set: a list in the address, a short link /c/, a published page /l/ or a featured set /s/. curl and HTTP libraries get Markdown without asking. Short links and lists in the address read the first 50 links.

curl "https://urlhub.cloud/?urls=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMars%20https%3A%2F%2Fgithub.com%2Fsveltejs%2Fkit&lang=en"
curl "https://urlhub.cloud/?urls=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMars%20https%3A%2F%2Fgithub.com%2Fsveltejs%2Fkit&lang=en&format=json"
curl https://urlhub.cloud/c/<id>
https://urlhub.cloud/l/<id>?format=md

A short link

POST a list of links to /api/collections and get a short link /c/<id>. The same list always gets the same link; at most 10 a minute from one address; a link nobody opens for 90 days goes away.

curl -X POST https://urlhub.cloud/api/collections \
  -H 'Content-Type: application/json' \
  -d '{"urls": ["https://en.wikipedia.org/wiki/Mars"], "lang": "en"}'
# {"id": "…", "path": "/c/…"}

QR code

In the Share dialog the browser makes the QR code of a short link or a published page, to download as PNG or SVG. Programs and AI assistants get it as a file: /c/<id>/qr.png or /c/<id>/qr.svg (a short link), /l/<id>/qr.png or .svg (a published page), or at once from links with /qr?urls=<links separated by spaces>&format=png (they get a short link, which comes in the Link header).

Claude and ChatGPT

urlhub is also a connector (an MCP server) for Claude, ChatGPT and other AI assistants: they can make a set and give you its short link and QR code (or, with a title, publish it as a page), read a set, see what links are about and find featured sets. Add the address below as a custom connector: in Claude under Settings → Connectors, in ChatGPT under Settings → Apps & Connectors (with developer mode on). Menu names change now and then. No account or key is needed. The assistant sends urlhub only the links it works with; your conversation stays with the assistant's provider.

https://urlhub.cloud/mcp

Then just ask, for example: “Make a urlhub set of these links and give me the short link: …”, or “What is in this set: …?”.

Limits and rules

No accounts, cookies or analytics tools. Anyone with a link sees the links of its set, so do not put private links in one. Lists in addresses and short links stay out of search results. Too many requests from one address get a 429: try again in a minute.

Files for AI and tools

  • /llms.txt – urlhub described for language models (llms.txt)
  • /openapi.json – the API as OpenAPI 3.1, e.g. for GPT actions and agents