get-links-here
Retrieve pages that reference a wiki page via links, transclusions, or file usage. Filter by namespace or redirect status.
Instructions
Lists pages that reference a target wiki page, returning each referencing page's title, page ID, namespace ID, and whether it is a redirect. The type parameter selects the relationship — wikilinks (pages that link to the target), transclusions (pages that embed it, such as a template), or fileusage (pages that display it, for File pages) — one relationship per call. With expandRedirects, a referencing redirect also yields the pages that link through it (wikilinks and fileusage only), each tagged with the via redirect. Filter by namespace ID or by redirect status. For members of a category, use get-category-members; for full-text content search, use search-page. Returns up to 500 per call; paginate with continueFrom. The redirect flag appears only when the referencing page is a redirect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Inbound relationship to list: wikilinks (pages that link to the target), transclusions (pages that embed it), or fileusage (pages that display it) | wikilinks |
| wiki | No | Wiki to target, as a key from the mcp://wikis/ resources (e.g. en.wikipedia.org), or the full mcp://wikis/ URI. Omit to use the default wiki. | |
| limit | No | Maximum referencing pages to return (1..500) | |
| title | Yes | Wiki page title to find references to (the link target). A File title when type is fileusage. | |
| filter | No | Filter the referencing pages by redirect status | all |
| namespaces | No | Namespace IDs to filter the referencing pages by | |
| continueFrom | No | Opaque continuation token from the previous response; omit on first call | |
| expandRedirects | No | When a referencing page is a redirect to the target, also return the pages that link through it. Applies to wikilinks and fileusage only. |