Wikipedia Category Pages (PetScan)
petscan/category-pages
Lists the pages in a category of a Wikimedia project through PetScan: language (en, de, fr, ...), project (wikipedia, wiktionary, wikibooks, wikiquote, wikisource, wikiversity or wikivoyage), a category name without the Category: prefix, and how many subcategory levels to include (0 for the category alone, up to 2). Each page has its id, title, namespace, size in bytes, Wikidata id when the wiki has one, last-touched time and a working link; subcategories themselves appear as namespace 14 pages. Returns at most limit pages (1 to 100, default 25) in PetScan's order, which is not alphabetical and is not stable between runs, so a category with more pages than the limit cannot be paged. A category that does not exist returns count 0. A very large category such as Living_people, or a language code the project does not have, is refused with a validation error; a query can take up to about 20 seconds. Typically 1 to 20 KB. Page data CC BY-SA, credit Wikipedia contributors. Served by Eden Engine; not an official Wikimedia or PetScan product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
Wikipedia contributors (CC BY-SA); page lists computed by PetScan (petscan.wmcloud.org). Served by Eden Engine; not an official Wikimedia or PetScan product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "petscan/category-pages" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "petscan/category-pages" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "petscan/category-pages", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "petscan/category-pages", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 25, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"language",
"project",
"category"
],
"properties": {
"depth": {
"type": "integer",
"default": 0,
"maximum": 2,
"minimum": 0,
"description": "Subcategory levels to include: 0 (default) the category alone, up to 2."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Maximum pages to return (1-100, default 25)."
},
"project": {
"enum": [
"wikipedia",
"wiktionary",
"wikibooks",
"wikiquote",
"wikisource",
"wikiversity",
"wikivoyage"
],
"type": "string",
"description": "Wikimedia project."
},
"category": {
"type": "string",
"pattern": "^\\S[^\\n\\r]*$",
"maxLength": 200,
"description": "Category name without the 'Category:' prefix, spaces or underscores, for example Physics or Physiker."
},
"language": {
"type": "string",
"pattern": "^[a-z]{2,12}(-[a-z]{2,12})?$",
"description": "Wiki language code, for example en, de, fr, simple."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"wiki",
"pages",
"count"
],
"properties": {
"wiki": {
"type": [
"string",
"null"
],
"description": "Host of the wiki queried, for example en.wikipedia.org."
},
"count": {
"type": "integer",
"description": "Number of pages returned (at most `limit`)."
},
"pages": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"namespace",
"namespace_name",
"url"
],
"properties": {
"id": {
"type": [
"integer",
"null"
],
"description": "Page id on the wiki."
},
"url": {
"type": [
"string",
"null"
],
"description": "Link to the page on its wiki."
},
"title": {
"type": "string",
"description": "Page title as PetScan returns it, with underscores and without the namespace prefix."
},
"length": {
"type": [
"integer",
"null"
],
"description": "Page size in bytes."
},
"touched": {
"type": [
"string",
"null"
],
"description": "Time the page was last touched (ISO 8601, UTC)."
},
"wikidata": {
"type": [
"string",
"null"
],
"description": "Wikidata item id, for example Q413; null on wikis without Wikidata links, such as Wiktionary."
},
"namespace": {
"type": [
"integer",
"null"
],
"description": "Namespace number (0 articles, 14 categories, ...)."
},
"namespace_name": {
"type": "string",
"description": "Namespace prefix, empty for articles (Category, Talk, ...)."
}
},
"additionalProperties": false
},
"description": "Pages in the category, in PetScan's order (not alphabetical)."
}
},
"additionalProperties": false
}