Skip to main content
Glama

Octocode MCP

by bgauryy

packageSearch

Search NPM and Python packages concurrently to discover alternatives and explore functionality. Use broad keywords for efficient package discovery across ecosystems, enabling cross-platform research and development insights.

Instructions

Search for packages across multiple ecosystems. Supported: NPM (Node.js) and Python (PyPI) package ecosystems. Use it to discover packages by functionality keywords and explore alternatives. Supports concurrent searches across both ecosystems in a single call.

WHEN TO USE: Use when users ask questions about npm/python packages or need to discover packages - provides package discovery and ecosystem insights. Provides comprehensive package data for research and development context. Example: when content has import statements, use this tool to search for the packages (npm or python).

KEY CAPABILITIES:

  • npmPackageName: Single NPM package search
  • npmPackagesNames: Multiple NPM package searches with concurrent execution
  • pythonPackageName: Python package search via PyPI API
  • Combined ecosystem searches in a single call with parallel processing
  • Results separated by ecosystem (npm: [], python: [])
  • Smart package name normalization and fallback strategies
  • Repository discovery and metadata extraction

SEARCH STRATEGY:

  • Use broad functional terms for best discovery
  • Single keywords work better than complex phrases
  • Multiple searches reveal ecosystem alternatives
  • Cross-Ecosystem: Search both NPM and Python to compare alternatives and find best solutions

Input Schema

NameRequiredDescriptionDefault
npmPackageNameNoNPM package name to search for. Use this for searching NPM packages.
npmPackagesNamesNoSearch terms for NPM packages only - supports multiple queries (e.g., "react hooks", ["typescript", "eslint"], "data visualization"). Optional when using other parameters.
npmSearchStrategyNoNPM search strategy: "individual" runs separate searches for each term, "combined" searches all terms together. Default: individualindividual
pythonPackageNameNoPython package name to search for. Use this for searching Python packages on PyPI.
searchLimitNoResults limit per query (1-50). Default: 20

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "npmPackageName": { "description": "NPM package name to search for. Use this for searching NPM packages.", "type": "string" }, "npmPackagesNames": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ], "description": "Search terms for NPM packages only - supports multiple queries (e.g., \"react hooks\", [\"typescript\", \"eslint\"], \"data visualization\"). Optional when using other parameters." }, "npmSearchStrategy": { "default": "individual", "description": "NPM search strategy: \"individual\" runs separate searches for each term, \"combined\" searches all terms together. Default: individual", "enum": [ "individual", "combined" ], "type": "string" }, "pythonPackageName": { "description": "Python package name to search for. Use this for searching Python packages on PyPI.", "type": "string" }, "searchLimit": { "default": 20, "description": "Results limit per query (1-50). Default: 20", "maximum": 50, "minimum": 1, "type": "integer" } }, "type": "object" }
Install Server

Other Tools from Octocode MCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bgauryy/octocode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server