get_crate

Pack: crates · Endpoint: https://gateway.pipeworx.io/crates/mcp

Get full metadata for a specific crate (e.g., ‘serde’). Returns description, downloads, latest version, repo, homepage, and categories.

Parameters

NameTypeRequiredDescription
namestringyesExact crate name (e.g., “serde”, “tokio”)

Example call

Arguments

{
  "name": "serde"
}

curl

curl -X POST https://gateway.pipeworx.io/crates/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_crate","arguments":{"name":"serde"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_crate', {
  "name": "serde"
});

More examples

{
  "name": "tokio"
}

Response shape

Always returns: name, description, downloads, recent_downloads, newest_version, max_stable_version, repository, homepage, documentation, categories, keywords, created_at, updated_at

FieldTypeDescription
namestringCrate name
descriptionstring | nullCrate description
downloadsnumberTotal download count
recent_downloadsnumber | nullRecent download count
newest_versionstringLatest published version
max_stable_versionstring | nullLatest stable version
repositorystring | nullRepository URL
homepagestring | nullHomepage URL
documentationstring | nullDocumentation URL
categoriesarrayList of category tags
keywordsarrayList of keyword tags
created_atstringCreation timestamp
updated_atstringLast update timestamp
Full JSON Schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Crate name"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Crate description"
    },
    "downloads": {
      "type": "number",
      "description": "Total download count"
    },
    "recent_downloads": {
      "type": [
        "number",
        "null"
      ],
      "description": "Recent download count"
    },
    "newest_version": {
      "type": "string",
      "description": "Latest published version"
    },
    "max_stable_version": {
      "type": [
        "string",
        "null"
      ],
      "description": "Latest stable version"
    },
    "repository": {
      "type": [
        "string",
        "null"
      ],
      "description": "Repository URL"
    },
    "homepage": {
      "type": [
        "string",
        "null"
      ],
      "description": "Homepage URL"
    },
    "documentation": {
      "type": [
        "string",
        "null"
      ],
      "description": "Documentation URL"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of category tags"
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of keyword tags"
    },
    "created_at": {
      "type": "string",
      "description": "Creation timestamp"
    },
    "updated_at": {
      "type": "string",
      "description": "Last update timestamp"
    }
  },
  "required": [
    "name",
    "description",
    "downloads",
    "recent_downloads",
    "newest_version",
    "max_stable_version",
    "repository",
    "homepage",
    "documentation",
    "categories",
    "keywords",
    "created_at",
    "updated_at"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "crates": {
      "url": "https://gateway.pipeworx.io/crates/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026