similar
Search & retrievalMore-like-this: given a passage id, returns its semantic neighbours.
Widens a result set without a second query. Because the embedding space is multilingual, the neighbours are not limited to the seed passage's language — a German result can surface the English coverage of the same subject.
Arguments
| Name | Type | Description |
|---|---|---|
idrequired | string | Seed passage id. |
limit | integer | Neighbour count. |
Returns:Neighbouring passages in the same metadata-only shape.
Example
Prompt: “Find more pages like this one.”
{ "id": "p:8f2c9a", "limit": 10 }Over HTTP
The same operation is available as GET /similar for anything that does not speak MCP.
curl -H "x-api-key: $UNLOB_API_KEY" \
"https://api.unlob.com/similar?id=p:8f2c9a&limit=10"Setup
One config block gives your client all 11 tools, including this one.
{
"mcpServers": {
"unlob": {
"command": "npx",
"args": ["-y", "@unlob/mcp"],
"env": { "UNLOB_API_KEY": "ulb_your_key_here" }
}
}
}Get a key and connect
10,000 free requests a month. MCP calls bill exactly like HTTP calls — one request each.