search_packages

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

Search PyPI for packages by name. Returns latest version, summary, author, license, and project URLs.

Parameters

NameTypeRequiredDescription
namestringyesExact PyPI package name (e.g., “requests”, “numpy”)

Example call

Arguments

{
  "name": "requests"
}

curl

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

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "name": "numpy"
}

Response shape

Always returns: name, version, summary, author, author_email, license, requires_python, home_page, project_urls, keywords, recent_versions, latest_files

FieldTypeDescription
namestringPackage name
versionstringLatest version number
summarystring | nullShort package description
authorstring | nullPackage author name
author_emailstring | nullPackage author email
licensestring | nullLicense type
requires_pythonstring | nullPython version requirement
home_pagestring | nullPackage homepage URL
project_urlsobjectAdditional project URLs
keywordsstring | nullPackage keywords
recent_versionsarrayLast 10 available versions
latest_filesarrayLatest distribution files
Full JSON Schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Package name"
    },
    "version": {
      "type": "string",
      "description": "Latest version number"
    },
    "summary": {
      "type": [
        "string",
        "null"
      ],
      "description": "Short package description"
    },
    "author": {
      "type": [
        "string",
        "null"
      ],
      "description": "Package author name"
    },
    "author_email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Package author email"
    },
    "license": {
      "type": [
        "string",
        "null"
      ],
      "description": "License type"
    },
    "requires_python": {
      "type": [
        "string",
        "null"
      ],
      "description": "Python version requirement"
    },
    "home_page": {
      "type": [
        "string",
        "null"
      ],
      "description": "Package homepage URL"
    },
    "project_urls": {
      "type": "object",
      "description": "Additional project URLs"
    },
    "keywords": {
      "type": [
        "string",
        "null"
      ],
      "description": "Package keywords"
    },
    "recent_versions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Last 10 available versions"
    },
    "latest_files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string",
            "description": "Distribution filename"
          },
          "packagetype": {
            "type": "string",
            "description": "Package type (e.g., sdist, bdist_wheel)"
          },
          "upload_time": {
            "type": "string",
            "description": "Upload timestamp"
          },
          "url": {
            "type": "string",
            "description": "Download URL"
          }
        },
        "required": [
          "filename",
          "packagetype",
          "upload_time",
          "url"
        ]
      },
      "description": "Latest distribution files"
    }
  },
  "required": [
    "name",
    "version",
    "summary",
    "author",
    "author_email",
    "license",
    "requires_python",
    "home_page",
    "project_urls",
    "keywords",
    "recent_versions",
    "latest_files"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026