Skip to content

rfcxml-mcp ​

A Model Context Protocol (MCP) server that lets an LLM read RFC documents structurally.

What it does ​

This server reads published RFCs structurally and returns the parts an LLM can work with. It does not hand back the RFC text as a whole; it parses the RFCXML semantic structure and returns:

  • section hierarchy and metadata
  • normative requirements (MUST / SHOULD / MAY) in structured form
  • term definitions
  • reference relationships (normative / informative)
  • related sections
  • implementation checklists
  • the requirements that bear on a statement, with detected contradictions

RFCs published after RFC 8650 (December 2019) are available in official RFCXML v3. Earlier RFCs usually have no XML; the server then parses the text format instead, and every response carries _source (xml or text) and, where relevant, _sourceNote.

_sourceDescription
xmlParsed from RFCXML (high accuracy)
textParsed from text (medium accuracy)

Read _source first

A response with _source: "text" has a less precise section hierarchy and requirement extraction. When _sourceNote is present it says why.

What it does not do ​

It does not decide conformance

validate_statement finds the requirements that bear on a statement and reports detected contradictions. The verdict is yours. isValid: true means only that no contradiction was found; it is not a statement of compliance. See Accuracy and limits for how to read the value.

  • Only published RFCs. Internet-Drafts and arbitrary URLs are out of scope.
  • No web search. Sources are fixed to rfc-editor.org and the IETF Datatracker API.

Tools ​

ToolDescription
get_rfc_structureGet RFC section hierarchy and metadata. Metadata is enriched from the IETF Datatracker API.
get_requirementsExtract normative requirements (MUST/SHOULD/MAY) from RFC in structured format.
get_definitionsGet term definitions from RFC.
get_rfc_dependenciesGet RFC reference relationships (normative/informative).
get_related_sectionsGet sections related to the specified section.
generate_checklistGenerate RFC implementation checklist in Markdown format.
validate_statementFind the RFC requirements that bear on a statement, and report detected contradictions. This does NOT decide conformance.

Full parameter tables: Tools. Recorded outputs: Output examples. The text the server hands to the client: Server instructions.

Comparison with existing MCPs ​

FeatureExisting mcp-rfcRFCXML MCP
RFC text retrieval✅✅
Section extraction✅ (text-based)✅ (structure-based)
MUST/SHOULD/MAY extraction❌✅
Condition/exception structuring❌✅
RFC dependency graph❌✅
Definition scope management❌✅
Implementation checklist❌✅

Next ​

  • Install — Claude Desktop, Claude Code, version pinning, disk cache
  • Accuracy and limits — what the text fallback loses, what isValid means, what is checked before a release