# The MCP server's search_docs searches like the portal's own search, and points at the step

- Date: 2026-11-01
- Type: New
- Surface: Developer portal and CLI
- What you need to do: Nothing.
- Address: https://developers.rivr.io/changelog/2026-11-01-mcp-search-docs-portal-search

The MCP tool `search_docs` now uses the same search as the portal's command palette, instead of counting substrings over whole pages. It stems Swedish and English, folds diacritics (`aterbetalning` finds `återbetalning`, and `återbetalningar` finds it too), matches prefixes and weighs rare words higher. Each result is one guide step, error code, event, limit, rule or operation, with its own anchor (for example `/guides/connect#step-merchant-token`), a title, a short excerpt and its `kind`. A new `kind` parameter limits the results to one kind (`guide`, `reference`, `error`, `event`, `limit`, `rule`, `policy` or `testdata`); without it there are at most two results from one page, with it up to `limit`. `market` keeps only the steps for that market, and a Norwegian step's address carries `?market=no`. The test data the sandbox accepts (/testdata) is searchable too. Fetch a result with `get_page`.

