Relaton

v0.1.0
org.relaton/mcp Checked 3 days ago Published 6 days ago

MCP access to the Relaton Index: search, resolve, relations, timelines, 7-style citations.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

resolve

Resolve a bibliographic identifier to parsed components plus ranked canonical candidates. Use this when the exact corpus key is unknown; returns the best-matching documents with their keys.

ParameterTypeDescription
q *stringIdentifier string, e.g. 'ISO 9001:2015', 'ITU-T G.989.2', 'IEEE 802.3'
flavorstringHint the identifier's SDO flavor to bias parsing

get_record

Fetch the full bibliographic record for a corpus key (from search or resolve): identifiers, titles, dates, abstract, relations, in Relaton's YAML-semantic JSON shape.

ParameterTypeDescription
key *stringCorpus key, e.g. 'iso-9001-2015'
formatstringResponse format (default json)

get_relations

Fetch the typed relation graph around a document: nodes (related documents, external targets) and edges (amends, updates, supersedes, adoptedFrom, ...). Walk the citation network around a standard.

ParameterTypeDescription
key *stringCorpus key
depthintegerTraversal depth 1-4 (default 1)
typesstringComma-separated relation types to keep, e.g. 'amends,updates'

get_citation_chain

Fetch the edition chain of a document: its ancestors and descendants along the structural relation types (amends/updates/corrigends), date-ordered. Answers 'which edition is current?'

ParameterTypeDescription
key *stringCorpus key

get_timeline

Fetch the full publication history of a document as classified date-ordered events: publication, amendments, corrigenda, supersedence, obsolescence, adoptions — inbound and outbound edges.

ParameterTypeDescription
key *stringCorpus key

format_citation

Render a citation string for a document in a bibliography style: ISO 690 (default), Chicago, APA, MLA, BibTeX, RIS, or CSL-JSON. Give a corpus key, or an inline Relaton record.

ParameterTypeDescription
keystringCorpus key of the record to cite
langstringRender language, e.g. 'en', 'ja'
recordobjectInline Relaton record (use when the document is not in the corpus)
stylestringCitation style (default iso690)