get-api-catalog
Get the API catalog, the catalog contains metadata about all openapi specifications, their operations and schemas
Point an assistant at a folder of OpenAPI specs so it can look up one operation or schema instead of reading whole files.
LABSCO SUMMARY
The catalog carries the metadata, so an assistant searches for the operation it needs and loads that one alone — by operationId, or by the path and method read off a log line. When the files on disk change, refreshing the catalog is the entire update procedure.
A catalog over the OpenAPI specifications in a directory: metadata about every spec, its operations and its schemas, with search and targeted loads on top.
A directory of OpenAPI specification files, and npx on your PATH. No account and no key.
One command — npx -y @reapi/mcp-openapi@latest --dir ./specs
USE CASES
Search the operations across every spec in the directory for what you are trying to do, then load that one operation in full — parameters, responses and all — instead of putting the whole document in context.
Schemas are searchable in their own right, so the shape a payload has to take can be found and loaded by name without reading the operation that uses it.
You have a method and a path from a trace or an error, not an operationId. That is the lookup this takes directly, which turns a log line into the documented operation.
Rebuild the catalog from the files on disk and read back what it now holds, so a regenerated specification is picked up without restarting anything.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get-api-catalogGet the API catalog, the catalog contains metadata about all openapi specifications, their operations and schemas
load-api-operation-by-operationIdLoad an operation by operationId
load-api-operation-by-path-and-methodLoad an operation by path and method
load-api-schema-by-schemaNameLoad a schema by schemaName
refresh-api-catalogRefresh the API catalog
search-api-operationsSearch for operations across specifications
search-api-schemasSearch for schemas across specifications
BEFORE YOU INSTALL
7 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 7 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"mcp-openapi": {
"command": "npx",
"args": [
"-y",
"@reapi/mcp-openapi@latest",
"--dir",
"./specs"
]
}
}
}npx -y @reapi/mcp-openapi@latest --dir ./specs