query
Pack: deps-dev · Endpoint: https://gateway.pipeworx.io/deps-dev/mcp
Query packages/versions (by hash, repo URL, etc).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | object | yes | Query body — see https://docs.deps.dev/api/v3/#query |
Example call
Arguments
{
"query": {
"hash": "sha256:abc123def456"
}
}
curl
curl -X POST https://gateway.pipeworx.io/deps-dev/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query","arguments":{"query":{"hash":"sha256:abc123def456"}}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('query', {
"query": {
"hash": "sha256:abc123def456"
}
});
More examples
{
"query": {
"repo": {
"url": "https://github.com/nodejs/node"
}
}
}
Response shape
| Field | Type | Description |
|---|
Full JSON Schema
{
"type": "object",
"description": "Query results for packages/versions from deps.dev API",
"properties": {}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"deps-dev": {
"url": "https://gateway.pipeworx.io/deps-dev/mcp"
}
}
}
See Getting Started for client-specific install steps.