query

Pack: deps-dev · Endpoint: https://gateway.pipeworx.io/deps-dev/mcp

Query packages/versions (by hash, repo URL, etc).

Parameters

NameTypeRequiredDescription
queryobjectyesQuery 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

FieldTypeDescription
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.

Regenerated from source · build July 6, 2026