← clify home · catalogue

ctan API for agents (unofficial) — JSON over curl

CTAN (Comprehensive TeX Archive Network): browse TeX/LaTeX packages, topics, contributors, announcements, licenses, archive directories, ratings and comments from the public ctan.org web pages and their XHR endpoints.

Host: ctan.org. Call these verified read commands with plain curl; no install, key, or account. Use the public JSON API with plain curl. No install, key, account, or browser is needed. Start with San Francisco and U.S. agent tasks: events, startup jobs, BART and Muni departures, Craigslist listings, local news, public datasets and prediction markets. Example: curl 'https://clify-dev.netlify.app/search?q=SF+tech+events'. Responses are one JSON object. The hosted MCP and GitHub repo are also available.

Machine-readable command schema · Source website

Commands

list-packages

List CTAN packages whose name starts with a given letter (package slug and URL) Params: letter* Read-only

curl 'https://clify-dev.netlify.app/ctan/list-packages?letter=T'

get-package

Get a package's detail page: title and catalogue entry table (version, license, home page, etc.) Params: pkg* Read-only

curl 'https://clify-dev.netlify.app/ctan/get-package?pkg=pgfplots'

get-package-history

Get a package's release timeline as [year, month, version] tuples Params: pkg* Read-only

curl 'https://clify-dev.netlify.app/ctan/get-package-history?pkg=pgf'

get-package-rating

Get a package's rating breakdown: the number of votes for each star level Params: pkg* Read-only

curl 'https://clify-dev.netlify.app/ctan/get-package-rating?pkg=pgf'

list-package-comments

List user comments on a package (commenter, profile link, date), paginated Params: pkg*, offset, max Read-only

curl 'https://clify-dev.netlify.app/ctan/list-package-comments?pkg=pgf'

list-topics

List all topics with slug, URL and a tooltip containing the description and package count Params: none Read-only

curl 'https://clify-dev.netlify.app/ctan/list-topics'

list-topics-by-count

List topics ranked by number of packages Params: none Read-only

curl 'https://clify-dev.netlify.app/ctan/list-topics-by-count'

list-topic-packages

List the packages in a topic Params: topic* Read-only

curl 'https://clify-dev.netlify.app/ctan/list-topic-packages?topic=biomedical'

list-top-contributors

List top contributors with their package counts Params: none Read-only

curl 'https://clify-dev.netlify.app/ctan/list-top-contributors'

list-contributors

List contributors whose surname starts with a given letter Params: letter* Read-only

curl 'https://clify-dev.netlify.app/ctan/list-contributors?letter=M'

get-contributor

List the packages maintained by a contributor Params: id* Read-only

curl 'https://clify-dev.netlify.app/ctan/get-contributor?id=feuersaenger'

list-announcements

List the latest CTAN-ann announcements (package uploads and updates) Params: none Read-only

curl 'https://clify-dev.netlify.app/ctan/list-announcements'

get-announcement

Get the full text of an announcement and the package it concerns Params: msgid* Read-only

curl 'https://clify-dev.netlify.app/ctan/get-announcement?msgid=atSHIZY-1kTjw378%40prptp'

list-package-announcements

List all announcements for one package Params: pkg* Read-only

curl 'https://clify-dev.netlify.app/ctan/list-package-announcements?pkg=luatexja'

browse-archive

List subdirectories and files (size, date, download URL) in a CTAN archive directory Params: path* Read-only

curl 'https://clify-dev.netlify.app/ctan/browse-archive?path=graphics%2Fpgf%2Fcontrib%2Fpgfplots'

list-licenses

List the license keys used in the TeX Catalogue (free and non-free) Params: none Read-only

curl 'https://clify-dev.netlify.app/ctan/list-licenses'

get-license

Get a license's name, text and reference link Params: key* Read-only

curl 'https://clify-dev.netlify.app/ctan/get-license?key=mit'

get-license-stats

Get how many packages use a license, out of the total package count Params: key* Read-only

curl 'https://clify-dev.netlify.app/ctan/get-license-stats?key=mit'

get-upload-stats

Get monthly CTAN upload counts as [year, month, count] tuples Params: none Read-only

curl 'https://clify-dev.netlify.app/ctan/get-upload-stats'

get-random-package

Get a random featured package (key, name, caption, description) Params: none Read-only

curl 'https://clify-dev.netlify.app/ctan/get-random-package'