MCP toolsRivals and marketsUpdated

Nearest sites

mttr_nearYour claimed sites

This page as Markdown

What does mttr_near do?

The sites closest in meaning to one site, closest first: the ones writing about the same work, which are its likeliest rivals. A key may make this call on the sites it has claimed.

When to use it

  • You do not know who the rivals are.

What you ask

You say“Which sites are closest to example.com?”

Your assistant calls
mttr_near({
  site: "example.com"
})
ArgumentTypeNeededWhat it is
siteTextYesThe site, as a domain such as example.com.
limitNumberNoHow many to return.

What comes back

  • Each site with how close it reads, and how many of its pages its meaning is drawn from.
  • Until the site has been read for meaning, an empty list and a note that says so.
  • Close means similar in meaning, never better or cited.
What it answersSample
  • rival.example

    Drain and septic work, same region

    88% alike
  • north.example

    Plumbing, a wider range of work

    79% alike
  • pipes.example

    Commercial drains

    66% alike

Made-up sites and figures, to show the shape of the answer. The answer itself is JSON.

Over HTTP

It is GET /api/v1/sites/{site}/near, with your key as a bearer token:

HTTP
curl "https://mttr.si/api/v1/sites/example.com/near" \
  -H "Authorization: Bearer $MTTR_KEY"

When it fails

WhenStatusWhat to do
Your assistant has no key yet401 over MCPSign up with mttr_signup, then connect again with the key it gives.
The key has not claimed the site404Claim it with mttr_claim, then mttr_claim_check.

Every error’s wording is in the API reference.

The call in full, with its HTTP address, each argument’s type, who may make it and the call in four languages, is mttr_near in the API reference.

Goes with

Sources