<Developers>
Build on the Skills API
Everything in the library — 3,200+ Claude Skills, 2,600+ MCP servers and code libraries — is available through a simple REST API: list, search, download, publish and maintain items from your own tools, scripts or desktop apps.
Quickstart
The API is one endpoint with an action query parameter. Health check needs no key:
curl "https://ai-host4me.nl/api.php?action=ping"
# {"ok":true,"service":"AI-Host4me skills API","ts":"..."}
Everything else authenticates with an API key in the X-Api-Key header.
Members generate their own read key in one click — log in, open
API keys in the library toolbar, and create one (up to two). Need a
write key (create/update/maintain)? Ask the admin
(support@ai-host4me.nl).
curl -H "X-Api-Key: aih_YOUR_KEY" "https://ai-host4me.nl/api.php?action=list&kind=skill&limit=25" curl -H "X-Api-Key: aih_YOUR_KEY" "https://ai-host4me.nl/api.php?action=get&slug=fastmcp" curl -H "X-Api-Key: aih_YOUR_KEY" -o fastmcp.zip "https://ai-host4me.nl/api.php?action=zip&slug=fastmcp"
Develop against staging first: https://pre.ai-host4me.nl runs the same
code with its own database and its own API keys (production keys do not work there).
Endpoints at a glance
| Action | Method | Scope | What it does |
|---|---|---|---|
ping | GET | public | Health check |
list | GET | read | All items (metadata, filters, pagination) |
get | GET | read | One item incl. readmes + version history |
zip | GET | read | Download the item ZIP |
save | POST | write | Create/update an item (upsert, auto-versioned) |
delete | POST | write | Remove an item |
repo_sync | POST | write | Refresh a category from the source repo (phased) |
upstream_check | GET | read | Compare items with their original repos (phased) |
upstream_pull | POST | write | Pull an upstream update as a new version |
sync_status | GET | read | Last sync/check per category |
Responses are JSON ({"ok":true,...} or {"ok":false,"error":"code"}),
except zip (binary). Rate limits: 240 requests/min per IP; respect the
Retry-After header on HTTP 429. Full contracts in the
interactive reference.
Tooling & downloads
Building a Delphi client? The API was designed with
System.Net.HttpClient + System.JSON in mind — ask us for the
Delphi implementation guide and examples via
support@ai-host4me.nl.
Use the library inside Claude — MCP server
Prefer to search and download skills without leaving Claude? Run the
AI-Host4me MCP server: it exposes the library as MCP tools
(search_library, get_item, download_item,
list_categories) so Claude Code can pull skills straight into your project.
pip install "mcp[cli]" httpx
# .mcp.json
{
"mcpServers": {
"ai-host4me": {
"command": "python",
"args": ["path/to/server.py"],
"env": { "AIH_API_KEY": "aih_YOUR_KEY" }
}
}
}
Good to know
| Auth header | X-Api-Key (not Authorization — the hosting proxy does not forward it) |
| Key format | aih_ + 40 hex characters; shown once at creation, stored only as a hash |
| Scopes | read = list/get/zip/upstream_check/sync_status · write = everything |
| Versioning | Every content change creates a new version; old versions stay retrievable (get&ver=N) |
| Stability | Unknown JSON fields may be added over time — ignore what you don't know; never hardcode categories |