PkgSeek Tools API
Curated CLI tools, verified installation mappings and binary identity
Curated CLI tools, verified installation mappings and binary identity
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/pkgseek-com:pkgseek-com-tools-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: pkgseek Tools API
description: Open REST API over sourced cross-distro Linux package and CLI facts. Public fact reads and correction submission require no authentication; management review endpoints require a server-side bearer token. Rate-limited responses return 429 (Retry-After where applicable); rejected credentials return 403. Protected writes accept either an x-turnstile-token header (browser, human-verified) or a scoped pk_* bearer key (machines).
license:
name: MIT
identifier: MIT
version: 0.2.9
tags:
- name: Tools
description: Curated CLI tools, verified installation mappings and binary identity
paths:
/v1/commands:
get:
tags:
- Tools
operationId: command_recipes
parameters:
- name: kind
in: query
description: migration or cookbook
required: true
schema:
type: string
responses:
'200':
description: Verified command migration or cookbook recipes
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/CommandRecipe'
security:
- turnstile: []
- machine_key: []
summary: Command recipes
x-summary-source: derived
/v1/doctor:
post:
tags:
- Tools
operationId: doctor
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DoctorRequest'
required: true
responses:
'200':
description: Static command and portability analysis; input is never executed
content:
application/json:
schema:
$ref: '#/components/schemas/DoctorResult'
'400':
description: Invalid or oversized command
summary: Doctor
x-summary-source: derived
/v1/guides:
get:
tags:
- Tools
operationId: guides
responses:
'200':
description: Portability, hardening, path and capability guides
content:
application/json:
schema:
$ref: '#/components/schemas/GuideIndex'
summary: Guides
x-summary-source: derived
/v1/identify:
get:
tags:
- Tools
operationId: knowledge_identify
parameters:
- name: binary
in: query
description: Binary name or absolute executable path
required: true
schema:
type: string
responses:
'200':
description: Verified packages and tools shipping this binary
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/KnowledgeIdentifyHit'
summary: Knowledge identify
x-summary-source: derived
/v1/tools:
get:
tags:
- Tools
operationId: knowledge_tools
parameters:
- name: q
in: query
description: Tool, package, binary alias or summary text
required: false
schema:
type: string
- name: category
in: query
description: Exact tool category
required: false
schema:
type: string
- name: limit
in: query
description: Page size, 1-100 (default 50)
required: false
schema:
type: integer
format: int64
- name: offset
in: query
description: Rows to skip, max 5000
required: false
schema:
type: integer
format: int64
responses:
'200':
description: Curated CLI tool catalog
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeToolList'
summary: Knowledge tools
x-summary-source: derived
/v1/tools/drift:
get:
tags:
- Tools
operationId: knowledge_drift
parameters:
- name: status
in: query
description: Reconciliation status filter
required: false
schema:
type: string
- name: distro
in: query
description: Distribution filter
required: false
schema:
type: string
- name: limit
in: query
description: Page size, 1-100 (default 50)
required: false
schema:
type: integer
format: int64
- name: offset
in: query
description: Rows to skip, max 5000
required: false
schema:
type: integer
format: int64
responses:
'200':
description: Curated fact reconciliation and drift report
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeDriftReport'
summary: Knowledge drift
x-summary-source: derived
/v1/tools/install-script:
post:
tags:
- Tools
operationId: install_script
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/InstallScriptRequest'
required: true
responses:
'200':
description: Reviewable multi-tool installation script
content:
application/json:
schema:
$ref: '#/components/schemas/InstallScriptResult'
'400':
description: Invalid tool list, distribution or shell
summary: Install script
x-summary-source: derived
/v1/tools/resolve:
get:
tags:
- Tools
operationId: knowledge_resolve
parameters:
- name: tool
in: query
description: Tool id, canonical name or verified alias
required: true
schema:
type: string
- name: distro
in: query
description: Distribution id or homebrew
required: true
schema:
type: string
responses:
'200':
description: Exact verified installation mapping
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeResolveResult'
'404':
description: No mapping for this tool and distro
summary: Knowledge resolve
x-summary-source: derived
/v1/tools/{id}:
get:
tags:
- Tools
operationId: knowledge_tool
parameters:
- name: id
in: path
description: Stable tool id, for example fd or ripgrep
required: true
schema:
type: string
responses:
'200':
description: Full curated tool record
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeTool'
'404':
description: No such curated tool
summary: Knowledge tool
x-summary-source: derived
components:
schemas:
InstallScriptResult:
type: object
required:
- distro
- shell
- tools
- unresolved
- warnings
- script
properties:
distro:
type: string
script:
type: string
shell:
type: string
tools:
type: array
items:
$ref: '#/components/schemas/InstallScriptTool'
unresolved:
type: array
items:
type: string
warnings:
type: array
items:
type: string
DoctorResult:
type: object
required:
- command
- flags
- portability
- warnings
properties:
canonical_name:
type:
- string
- 'null'
command:
type: string
flags:
type: array
items:
$ref: '#/components/schemas/DoctorFlag'
install:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/KnowledgeResolveResult'
portability:
type: array
items:
$ref: '#/components/schemas/PortabilityDiff'
tool_id:
type:
- string
- 'null'
warnings:
type: array
items:
type: string
GuideIndex:
type: object
required:
- portability
- systemd
- paths
- capabilities
- lifecycle
properties:
capabilities:
type: array
items:
$ref: '#/components/schemas/CapabilityRow'
lifecycle:
type: array
items:
$ref: '#/components/schemas/DistroLifecycle'
paths:
type: array
items:
$ref: '#/components/schemas/ServicePath'
portability:
type: array
items:
$ref: '#/components/schemas/PortabilityDiff'
systemd:
type: array
items:
$ref: '#/components/schemas/SystemdDirective'
KnowledgeFactVerification:
type: object
required:
- status
- package_matches
- binary_matches
- files_indexed
- reconciled_at
properties:
binary_matches:
type: integer
format: int32
files_indexed:
type: integer
format: int32
package_matches:
type: integer
format: int32
reconciled_at:
type: string
status:
type: string
CapabilityRow:
type: object
required:
- distro
- release
- python
- openssl
- libc
- gcc
- systemd
- support_status
- lifecycle_url
- source
- last_verified
properties:
distro:
type: string
gcc:
type: string
last_verified:
type: string
libc:
type: string
lifecycle_url:
type: string
openssl:
type: string
python:
type: string
release:
type: string
source:
type: string
support_status:
type: string
systemd:
type: string
KnowledgeIdentifyHit:
type: object
description: Binary reverse lookup enriched with the owning curated tool.
required:
- tool_id
- canonical_name
- category
- platform
- distro
- package_name
- binary_name
- install_command
- repo
- gotcha
- source
- last_verified
- packages
properties:
binary_name:
type: string
canonical_name:
type: string
category:
type: string
distro:
type: string
gotcha:
type: boolean
install_command:
type: string
last_verified:
type: string
package_name:
type: string
packages:
type: array
items:
$ref: '#/components/schemas/KnowledgePackageMatch'
platform:
type: string
repo:
type: string
source:
type: string
tool_id:
type: string
verification:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/KnowledgeFactVerification'
KnowledgeDriftItem:
type: object
required:
- tool_id
- canonical_name
- distro
- package_name
- binary_name
- status
- package_matches
- binary_matches
- files_indexed
- reconciled_at
properties:
binary_matches:
type: integer
format: int32
binary_name:
type: string
canonical_name:
type: string
distro:
type: string
files_indexed:
type: integer
format: int32
package_matches:
type: integer
format: int32
package_name:
type: string
reconciled_at:
type: string
status:
type: string
tool_id:
type: string
CommandRecipe:
type: object
required:
- id
- kind
- group_id
- tool_id
- canonical_name
- title
- target_command
- required_flags
- source
- last_verified
properties:
canonical_name:
type: string
group_id:
type: string
id:
type: string
kind:
type: string
last_verified:
type: string
required_flags:
type: array
items:
type: string
source:
type: string
source_command:
type:
- string
- 'null'
target_command:
type: string
title:
$ref: '#/components/schemas/LocalizedText'
tool_id:
type: string
KnowledgeTool:
type: object
description: Full curated CLI record, independent from package release/version facts.
required:
- id
- canonical_name
- summary
- homepage
- upstream_repo
- category
- aliases
- install
- commands
- config
properties:
aliases:
type: array
items:
type: string
canonical_name:
type: string
category:
type: string
commands:
type: array
items:
$ref: '#/components/schemas/KnowledgeCommand'
config:
type: array
items:
$ref: '#/components/schemas/KnowledgeConfigOption'
homepage:
type: string
id:
type: string
install:
type: array
items:
$ref: '#/components/schemas/KnowledgeInstallFact'
summary:
$ref: '#/components/schemas/LocalizedText'
upstream_repo:
type: string
SystemdDirective:
type: object
required:
- name
- value
- role
- summary
- source
- last_verified
properties:
last_verified:
type: string
name:
type: string
role:
type: string
since:
type:
- string
- 'null'
source:
type: string
summary:
$ref: '#/components/schemas/LocalizedText'
value:
type: string
InstallScriptTool:
type: object
required:
- tool_id
- canonical_name
- package_name
- binary_name
- source
- last_verified
properties:
binary_name:
type: string
canonical_name:
type: string
last_verified:
type: string
package_name:
type: string
source:
type: string
tool_id:
type: string
LocalizedText:
type: object
required:
- en
properties:
en:
type: string
zh:
type:
- string
- 'null'
KnowledgeConfigOption:
type: object
required:
- key
- description
- source
- last_verified
properties:
default:
type:
- string
- 'null'
description:
$ref: '#/components/schemas/LocalizedText'
key:
type: string
last_verified:
type: string
location:
type:
- string
- 'null'
source:
type: string
DoctorFlag:
type: object
required:
- token
- status
- deprecated
properties:
canonical:
type:
- string
- 'null'
deprecated:
type: boolean
description:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/LocalizedText'
status:
type: string
token:
type: string
KnowledgeFlag:
type: object
required:
- description
- deprecated
properties:
arg:
type:
- string
- 'null'
deprecated:
type: boolean
description:
$ref: '#/components/schemas/LocalizedText'
long:
type:
- string
- 'null'
short:
type:
- string
- 'null'
since:
type:
- string
- 'null'
KnowledgeResolveResult:
type: object
description: Exact tool+distro resolution used before suggesting an installation.
required:
- tool_id
- canonical_name
- summary
- category
- platform
- distro
- package_name
- binary_name
- install_command
- repo
- gotcha
- source
- last_verified
- packages
properties:
binary_name:
type: string
canonical_name:
type: string
category:
type: string
distro:
type: string
gotcha:
type: boolean
install_command:
type: string
last_verified:
type: string
notes:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/LocalizedText'
package_name:
type: string
packages:
type: array
items:
$ref: '#/components/schemas/KnowledgePackageMatch'
platform:
type: string
repo:
type: string
source:
type: string
summary:
$ref: '#/components/schemas/LocalizedText'
tool_id:
type: string
verification:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/KnowledgeFactVerification'
DistroLifecycle:
type: object
required:
- distro
- label
- current_version
- support_status
- lifecycle_url
- source
- last_verified
properties:
current_version:
type: string
distro:
type: string
eol:
type:
- string
- 'null'
extended_eol:
type:
- string
- 'null'
label:
type: string
last_verified:
type: string
lifecycle_url:
type: string
release_date:
type:
- string
- 'null'
source:
type: string
support_status:
type: string
PortabilityDiff:
type: object
required:
- task
- gnu
- bsd
- source
- last_verified
properties:
bsd:
type: string
bsd_source:
type:
- string
- 'null'
gnu:
type: string
gnu_source:
type:
- string
- 'null'
last_verified:
type: string
note:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/LocalizedText'
source:
type: string
task:
$ref: '#/components/schemas/LocalizedText'
DoctorRequest:
type: object
required:
- command
properties:
command:
type: string
distro:
type:
- string
- 'null'
ServicePath:
type: object
required:
- service
- label
- debian_ubuntu
- rhel_fedora
- source
- last_verified
properties:
debian_source:
type:
- string
- 'null'
debian_ubuntu:
type: string
label:
$ref: '#/components/schemas/LocalizedText'
last_verified:
type: string
note:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/LocalizedText'
rhel_fedora:
type: string
rhel_source:
type:
- string
- 'null'
service:
type: string
source:
type: string
InstallScriptRequest:
type: object
required:
- distro
- tools
properties:
distro:
type: string
shell:
type: string
tools:
type: array
items:
type: string
KnowledgeDriftSummary:
type: object
required:
- total
- verified
- partially_verified
- binary_unconfirmed
- files_unavailable
- package_missing
- repository_unavailable
- unsupported_platform
properties:
binary_unconfirmed:
type: integer
format: int64
files_unavailable:
type: integer
format: int64
package_missing:
type: integer
format: int64
partially_verified:
type: integer
format: int64
repository_unavailable:
type: integer
format: int64
total:
type: integer
format: int64
unsupported_platform:
type: integer
format: int64
verified:
type: integer
format: int64
KnowledgeToolList:
type: object
required:
- items
- total
properties:
items:
type: array
items:
$ref: '#/components/schemas/KnowledgeToolSummary'
total:
type: integer
format: int64
KnowledgeInstallFact:
type: object
description: One verified installation mapping for a curated tool.
required:
- tool_id
- platform
- distro
- package_name
- binary_name
- install_command
- repo
- gotcha
- source
- last_verified
- packages
properties:
binary_name:
type: string
distro:
type: string
gotcha:
type: boolean
install_command:
type: string
last_verified:
type: string
notes:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/LocalizedText'
package_name:
type: string
packages:
type: array
items:
$ref: '#/components/schemas/KnowledgePackageMatch'
platform:
type: string
repo:
type: string
source:
type: string
tool_id:
type: string
verification:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/KnowledgeFactVerification'
KnowledgeToolSummary:
type: object
description: Curated CLI tool row for catalog/search pages.
required:
- id
- canonical_name
- summary
- category
- aliases
- distro_count
- has_gotcha
properties:
aliases:
type: array
items:
type: string
canonical_name:
type: string
category:
type: string
distro_count:
type: integer
format: int64
has_gotcha:
type: boolean
id:
type: string
last_verified:
type:
- string
- 'null'
summary:
$ref: '#/components/schemas/LocalizedText'
KnowledgeDriftReport:
type: object
required:
- items
- summary
properties:
items:
type: array
items:
$ref: '#/components/schemas/KnowledgeDriftItem'
summary:
$ref: '#/components/schemas/KnowledgeDriftSummary'
KnowledgePackageMatch:
type: object
description: One current pkgseek package row linked to a curated distro-level fact.
required:
- source
- release
- repo
- package_name
- version
- arch
- file_indexed
- binary_verified
properties:
arch:
type: string
binary_path:
type:
- string
- 'null'
binary_verified:
type: boolean
file_indexed:
type: boolean
package_name:
type: string
release:
type: string
repo:
type: string
source:
type: string
version:
type: string
KnowledgeCommand:
type: object
required:
- name
- flags
- source
- last_verified
properties:
flags:
type: array
items:
$ref: '#/components/schemas/KnowledgeFlag'
last_verified:
type: string
name:
type: string
source:
type: string
usage:
type:
- string
- 'null'
securitySchemes:
admin_token:
type: http
scheme: bearer
machine_key:
type: http
scheme: bearer
turnstile:
type: apiKey
in: header
name: x-turnstile-token
watch_token:
type: apiKey
in: header
name: x-watch-token