get-links-here
List wiki pages that reference a target page via wikilinks, transclusions, or file usage. Filter results 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Wiki page title to find references to (the link target). A File title when type is fileusage. | |
| 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 |
| namespaces | No | Namespace IDs to filter the referencing pages by | |
| filter | No | Filter the referencing pages by redirect status | all |
| 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. | |
| limit | No | Maximum referencing pages to return (1..500) | |
| continueFrom | No | Opaque continuation token from the previous response; omit on first call | |
| 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. |