PyLops-MCP
OfficialThis MCP server provides structured, version-aware access to PyLops, PyProximal and PyLops-MPI operators, solvers, workflows and array classes, so agents can query them instead of web searching.
List the available indexed versions of PyLops, PyProximal and PyLops-MPI (latest is default).
Case-insensitive substring search across names and docstring summaries, filterable by kind (operator, solver, workflow, proxoperator, proxsolver, mpioperator, mpisolver, mpiproxoperator, mpiarray).
List operators, solvers and workflows (PyLops), optionally filtered by module.
List PyProximal proximal operators and solvers, optionally filtered by module.
List PyLops-MPI operators, solvers, proximal operators/solvers and array classes, optionally filtered by module.
Retrieve signatures, parameters, notes and examples for any named operator, solver, workflow, proxoperator, proxsolver or MPI entry (case-insensitive lookup).
Query a specific release via version arguments (e.g. "2.6", "0.10", "0.6"), with error plus available versions for unknown versions and close-match suggestions for unknown names.
Expose operator descriptions as MCP resources (e.g.
pylops://operators/{name}, versioned variants) for PyLops, PyProximal and PyLops-MPI.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PyLops-MCP search for FFT operators and show the signature of FFT"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PyLops-MCP
MCP server exposing PyLops, PyProximal and PyLops-MPI operators and solvers in a structured way, so agents and users can query them instead of web searching or crawling files.
The catalogs are built by introspecting the installed PyLops, PyProximal and PyLops-MPI
(numpydoc) and dumped to one file per release,
pylops_mcp/data/indexes/pylops/<version>.json (make index; releases from 2.4.0 are shipped) and
pylops_mcp/data/indexes/pyproximal/<version>.json (make index PACKAGE=pyproximal; releases from 0.9.0 are shipped) and
pylops_mcp/data/indexes/pylops_mpi/<version>.json (make index PACKAGE=pylops_mpi; releases from 0.5.0 are shipped).
Tools
Tool | Arguments | Description |
| none | For |
|
| Case-insensitive substring search over names and docstring summaries of PyLops, PyProximal and PyLops-MPI. Returns up to 20 hits ( |
|
| Sorted list of operator names, optionally filtered by module. |
|
| Sorted list of solver names, optionally filtered by module. |
|
| Sorted list of workflow names (inversion/decomposition helpers such as |
|
| Signature, parameters, notes and examples of an operator. Lookup is case-insensitive. |
|
| Signature, parameters, notes and examples of a solver. Lookup is case-insensitive. |
|
| Signature, parameters, notes and examples of a workflow. Lookup is case-insensitive. |
|
| Sorted list of PyProximal proximal operator names, optionally filtered by module. |
|
| Sorted list of PyProximal solver names ( |
|
| Signature, parameters, notes and examples of a proximal operator. Lookup is case-insensitive. |
|
| Signature, parameters, notes and examples of a PyProximal solver. Lookup is case-insensitive. |
|
| Sorted list of PyLops-MPI linear operator names ( |
|
| Sorted list of PyLops-MPI solver names ( |
|
| Sorted list of PyLops-MPI proximal operator names ( |
|
| Sorted list of PyLops-MPI proximal solver names ( |
|
| Sorted list of PyLops-MPI array classes ( |
|
| Signature, parameters, notes and examples of a PyLops-MPI entry. Lookup is case-insensitive. |
Every tool except list_versions takes an optional pylops_version (PyLops tools),
pyproximal_version (PyProximal tools) or pylops_mpi_version (PyLops-MPI tools), e.g. "2.6", "0.10" or "0.6", resolved to the
highest matching release (default: the latest). An unknown version
returns an error with the available_versions. All responses include the
resolved pylops_version, pyproximal_version or pylops_mpi_version. An unknown name returns an error
together with up to 5 close-match suggestions.
Operator descriptions are also exposed as the MCP resource
pylops://operators/{name} (latest) and pylops://{pylops_version}/operators/{name};
proximal operators likewise as pyproximal://operators/{name} and
pyproximal://{pyproximal_version}/operators/{name}, and PyLops-MPI operators as
pylops-mpi://operators/{name} and pylops-mpi://{pylops_mpi_version}/operators/{name}.
Related MCP server: openai-agents-sdk-mcp
Installation
For Users
No clone or index build is needed: the PyPI release ships prebuilt indexes for PyLops 2.4.0 and later (CI builds any missing release at release time).
Claude Code:
claude mcp add --scope user pylops -- uvx pylops-mcpClaude Desktop: add to claude_desktop_config.json:
{
"mcpServers": {
"pylops": { "command": "uvx", "args": ["pylops-mcp"] }
}
}Codex:
codex mcp add pylops -- uvx pylops-mcpor add to ~/.codex/config.toml:
[mcp_servers.pylops]
command = "uvx"
args = ["pylops-mcp"]OpenCode: add to opencode.json (project) or
~/.config/opencode/opencode.json (global):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"pylops": { "type": "local", "command": ["uvx", "pylops-mcp"], "enabled": true }
}
}PI: PI has no built-in MCP support, so first install the
pi-mcp-adapter extension:
pi install npm:pi-mcp-adapterthen add to ~/.pi/agent/mcp.json (global) or .pi/mcp.json (project):
{
"mcpServers": {
"pylops": { "command": "uvx", "args": ["pylops-mcp"] }
}
}For Developers
This project is developed with Claude Code, so all the commands below are for
Claude Code only. For other clients, translate the uv run ... command into
that client's MCP configuration (see For Users).
Clone the repository first; the commands below assume it lives at /path/to/pylops-mcp.
1. This project only
Run from inside the repository folder. The server is registered for this
project only (--scope local, the default), and uv run uses the project's
.venv. Nothing is installed globally.
claude mcp add pylops -- uv run pylops-mcp2. All projects, running from source
Register the server for every project and tell uv where the project lives, so
it works from any folder and always runs your current source:
claude mcp add --scope user pylops -- uv run --directory /path/to/pylops-mcp pylops-mcp3. All projects, as a global tool
Install pylops-mcp as a standalone tool and register the plain command
(add -e to the install to pick up source changes without reinstalling):
uv tool install /path/to/pylops-mcp
claude mcp add --scope user pylops -- pylops-mcpRebuilding the index
Running make index upfront is optional: the repository ships prebuilt
indexes in pylops_mcp/data/indexes/<package>/, and if there are none the server falls
back to introspecting the installed package live at every startup (slower).
make indexindexes the PyLops installed in the project environment.make index-all VERSIONS="2.4.0 2.5.0"builds specific releases, each in an isolated environment.make index-missingbuilds every PyPI release (>= 2.4.0) that has no index yet.Add
PACKAGE=pyproximalto any of these for PyProximal (releases >= 0.9.0), e.g.make index-missing PACKAGE=pyproximal, orPACKAGE=pylops_mpifor PyLops-MPI (releases >= 0.5.0). Isolated PyLops-MPI builds get their MPI runtime from thempichwheel; some releases need pins (seePINS_pylops_mpiin the Makefile), and on macOS you may have to pointMPI4PY_LIBMPIto thelibmpi.*.dylibof the uv cache.PyLops-MPI is not a dependency of the server (which reads the shipped indexes). To introspect it live, or to run the full test suite (
make sync), install thempiextra (uv sync --extra mpi, needs an MPI library).
The same can be done without a local setup via the Update indexes GitHub Action (Actions tab, Run workflow; choose the package and optionally a version), which opens a PR with the new index files. The release workflow does not generate indexes, so merge that PR before tagging.
Indexes of released versions are kept as they are; rebuild one only if you change the introspection code.
Releasing
Versions come from git tags (hatch-vcs):
dry run: Actions → Release → Run workflow →
testpypirelease: Releases → Draft a new release → create tag → Publish release (publishes to PyPI)
Available Tools
22 toolsget_mpiarrayB
Get signature, parameters, notes and examples of a PyLops-MPI array class.
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: name (required), pylops_mpi_version. Returns: object
get_mpioperatorB
Get signature, parameters, notes and examples of a PyLops-MPI operator.
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: name (required), pylops_mpi_version. Returns: object
get_mpiproxoperatorB
Get signature, parameters, notes and examples of a PyLops-MPI proximal operator.
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: name (required), pylops_mpi_version. Returns: object
get_mpiproxsolverA
Get signature, parameters, notes and examples of a PyLops-MPI proximal solver.
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: name (required), pylops_mpi_version. Returns: object
get_mpisolverB
Get signature, parameters, notes and examples of a PyLops-MPI solver.
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: name (required), pylops_mpi_version. Returns: object
get_operatorB
Get signature, parameters, notes and examples of a PyLops operator.
pylops_version selects the PyLops version (e.g. "2.6"); default is the latest.
Inputs: name (required), pylops_version. Returns: object
get_proxoperatorB
Get signature, parameters, notes and examples of a PyProximal operator.
pyproximal_version selects the PyProximal version (e.g. "0.10"); default is the latest.
Inputs: name (required), pyproximal_version. Returns: object
get_proxsolverB
Get signature, parameters, notes and examples of a PyProximal solver.
pyproximal_version selects the PyProximal version (e.g. "0.10"); default is the latest.
Inputs: name (required), pyproximal_version. Returns: object
get_solverB
Get signature, parameters, notes and examples of a PyLops solver.
pylops_version selects the PyLops version (e.g. "2.6"); default is the latest.
Inputs: name (required), pylops_version. Returns: object
get_workflowA
Get signature, parameters, notes and examples of a PyLops workflow.
pylops_version selects the PyLops version (e.g. "2.6"); default is the latest.
Inputs: name (required), pylops_version. Returns: object
list_mpiarraysA
List PyLops-MPI array classes (DistributedArray, ...), optionally by module.
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: module, pylops_mpi_version. Returns: object
list_mpioperatorsA
List PyLops-MPI operator names, optionally by module (e.g. "signalprocessing").
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: module, pylops_mpi_version. Returns: object
list_mpiproxoperatorsA
List PyLops-MPI proximal operator names, optionally filtered by module.
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: module, pylops_mpi_version. Returns: object
list_mpiproxsolversA
List PyLops-MPI proximal solver names, optionally filtered by module.
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: module, pylops_mpi_version. Returns: object
list_mpisolversA
List PyLops-MPI solver names, optionally by module (e.g. "optimization").
pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.
Inputs: module, pylops_mpi_version. Returns: object
list_operatorsA
List operator names, optionally filtered by module (e.g. "basicoperators").
pylops_version selects the PyLops version (e.g. "2.6"); default is the latest.
Inputs: module, pylops_version. Returns: object
list_proxperatorsA
List PyProximal proximal operator names, optionally filtered by module.
pyproximal_version selects the PyProximal version (e.g. "0.10"); default is the latest.
Inputs: module, pyproximal_version. Returns: object
list_proxsolversA
List PyProximal solver names, optionally filtered by module (e.g. "primal").
pyproximal_version selects the PyProximal version (e.g. "0.10"); default is the latest.
Inputs: module, pyproximal_version. Returns: object
list_solversA
List solver names, optionally filtered by module (e.g. "sparsity").
pylops_version selects the PyLops version (e.g. "2.6"); default is the latest.
Inputs: module, pylops_version. Returns: object
list_versionsB
List the PyLops, PyProximal and PyLops-MPI versions that have an index.
For each package the latest version is the default.
Inputs: no named parameters. Returns: object
list_workflowsB
List workflow names (inversion/decomposition helpers), optionally by module.
pylops_version selects the PyLops version (e.g. "2.6"); default is the latest.
Inputs: module, pylops_version. Returns: object
searchA
Search PyLops, PyProximal and PyLops-MPI by name or docstring summary.
kind is one of "all", "operator", "solver", "workflow" (PyLops), "proxoperator", "proxsolver" (PyProximal) or "mpioperator", "mpisolver", "mpiproxoperator", "mpiproxsolver", "mpiarray" (PyLops-MPI). pylops_version, pyproximal_version and pylops_mpi_version select the versions (e.g. "2.6", "0.10", "0.6"); default is the latest.
Inputs: query (required), kind, pylops_version, pylops_mpi_version, +1 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Each tool pairs a verb (list_/get_/search) with a specific artifact type, and prefixes (prox for PyProximal, mpi for PyLops-MPI) cleanly partition the three packages. The main friction is that get_proxoperator vs get_mpiproxoperator vs get_mpioperator require careful prefix parsing, and the generic `search` overlaps with every list_* tool for discovery.
Strong verb_noun convention throughout (list_operators/get_operator, list_mpisolvers/get_mpisolver), with package encoded as a prefix. Two deviations: the bare `search` tool and the misspelled `list_proxperators` (inconsistent with `get_proxoperator`).
22 tools is on the heavy side, driven by a mechanical 3-package x 5-category duplication of list/get pairs. Since `search` already takes a `kind` parameter spanning all types, several list/get pairs could be collapsed into fewer generic tools.
Every artifact category in all three packages has both a listing and a detail tool (operators, solvers, workflows, proxoperators, proxsolvers, MPI operators/solvers/proxoperators/proxsolvers/arrays), plus cross-cutting `search` and `list_versions`. No obvious dead ends for a documentation-lookup server.
Maintenance
Related MCP Connectors
Discover, compare, route, and execute machine-accessible capabilities for AI agents.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Catalog for building with AI agents: tools, APIs, licensed assets, prices and history, recipes.
Public read-only discovery of agent, model, training, task, and verification opportunities.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceExposes the structure and documentation of the openreview-py library, enabling LLMs to discover classes, functions, and signatures for accurate code generation. It provides tools for searching the API and retrieving detailed metadata without executing code or making external API calls.8-
- AlicenseNot gradedqualityDmaintenanceProvides MCP tools to list and search OpenAI Agents SDK documentation, enabling LLMs to retrieve documentation topics and content via natural language queries.MIT
- FlicenseNot gradedqualityDmaintenanceEnables agents to browse a catalog of OpenAPI specs, search for operations, and retrieve full operation contracts to build API requests without calling the target APIs.-
- AlicenseNot gradedqualityBmaintenanceExposes an OpenAPI catalog as tools for AI agents (e.g., Claude Code, Cursor) to query API endpoints via list_endpoints and get_endpoint tools, enabling interactive API exploration without a browser.368 npmMIT