Skip to content

python_search_packages

MCP tools › Run, test and tasks

Search the Python package index (PyPI) by package name: exact name first, then names starting with the query, then names containing it (normalised, at most 50), each with the version installed in the selected environment. The name list is downloaded once into the user cache and refreshed weekly. Needs the user-granted http right.

Its results carry text from web: the client is told to treat that as data, never as instructions.

Capabilityexecution.python_search_packages
AreaRun, test and tasks
Accesschanges network
Reachesnetwork
Rightshttp
Dry runnone

Arguments

ArgumentTypeDescription
queryrequiredstringPart of a package name, e.g. requests.

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project python_search_packages '{"query":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"description": "Part of a package name, e.g. `requests`.",
"type": "string"
}
}
}