cdnjs-frontend-libraries-mcp
# cdnjs-frontend-libraries-mcp
Live Cloudflare CDNjs open-source library metadata over Model Context Protocol (MCP). Frontend platform teams, security engineers, and supply-chain auditors can search hosted packages, inspect licenses and release histories, and fetch exact Subresource Integrity (SRI) hashes without an API key or account. It connects right away.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
```text
https://cdnjs-frontend-libraries-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `search_cdnjs_libraries` | Search Cloudflare CDNjs JavaScript and CSS libraries by keyword |
| `get_cdnjs_library_metadata` | Fetch latest version, license, author, homepage, and repository metadata |
| `get_cdnjs_library_versions` | List published release versions for a library with optional prefix filtering |
| `get_cdnjs_version_sri_hashes` | Retrieve CDN asset URLs and SHA512 SRI hashes for a pinned version |
| `get_cdnjs_registry_stats` | Retrieve global CDNjs registry statistics and total hosted library count |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"cdnjs-frontend-libraries": {
"url": "https://cdnjs-frontend-libraries-mcp.lipmichal.workers.dev/mcp"
}
}
}
```
## Run locally over stdio
You can also run this server locally on Node 20 or newer over stdio.
```bash
npm install
npm run build
npm start
```
## Compliance and reliability
Every upstream request queries `api.cdnjs.com` with a polite `User-Agent` header (`mcpstamp-cdnjs-frontend-libraries/1.0.1 (hello@mcpstamp.com)`) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.
## More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.cdnjs-frontend-libraries-mcp) with hosted commercial servers and priority endpoints.
TDQS
Scored across 5 tools
Each tool targets a distinct operation: keyword search, per-library metadata, version listing, per-version SRI/asset data, and global registry stats. The only mild overlap is that search results already include latest version, license, and repo URLs, so an agent might wonder whether to use search or get_cdnjs_library_metadata for a known library, but the descriptions make the discovery-vs-detail boundary clear enough.
All names are snake_case with a consistent verb_noun pattern (search_..., get_...) and a uniform 'cdnjs' domain segment. The convention is predictable throughout, so an agent can infer new tool names.
Five tools is well-scoped for a read-only CDN registry: discovery, detail, versions, integrity hashes, and global stats. Each tool covers a distinct need with no filler.
The surface covers the main read-only lifecycle: find a library, inspect it, enumerate versions, and obtain CDN URLs plus SRI hashes for a version, alongside global stats. Minor gaps exist — e.g. no direct asset-file download/read or tag/category browsing — but these are workable around via the existing URLs.