Provides tools to fetch, parse, and read IETF RFC documents, allowing search by keywords, extraction of specific sections, and support for both HTML and TXT formats with built-in caching.
RFC MCP Server
An MCP server for fetching, parsing, and reading RFCs from the ietf.org website. This server provides tools and resources to interact with RFC documents programmatically.
Features
- Fetch RFC documents by number
- Search for RFCs by keyword
- Extract specific sections from RFC documents
- Parse both HTML and TXT format RFCs
- Caching for better performance
Installation
Configure your MCP settings file to use the server:
Available Tools
get_rfc
Fetch an RFC document by its number.
Parameters:
number
(string, required): RFC number (e.g. "2616")format
(string, optional): Output format (full, metadata, sections), default: "full"
Example:
search_rfcs
Search for RFCs by keyword.
Parameters:
query
(string, required): Search keyword or phraselimit
(number, optional): Maximum number of results to return, default: 10
Example:
get_rfc_section
Get a specific section from an RFC.
Parameters:
number
(string, required): RFC number (e.g. "2616")section
(string, required): Section title or number to retrieve
Example:
Available Resources
Resource Templates
rfc://{number}
: Get an RFC document by its numberrfc://search/{query}
: Search for RFCs by keyword
Development
- Run in watch mode:
npm run dev
- Start the server:
npm run start
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Implementation Details
The server implements two main components:
- RFC Service: Handles fetching, parsing, and extracting data from RFCs
- MCP Server: Implements the MCP protocol and exposes tools and resources
The RFC service supports both HTML and TXT format RFCs, attempting to use HTML first for better structure, then falling back to TXT format if needed.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP server that enables programmatic access to IETF RFC documents, allowing users to fetch, search, and extract specific sections from RFCs.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables Large Language Models to search and access IETF RFC documents with pagination support.Last updated -4PythonMIT License
- -securityFlicense-qualityAn MCP server that enables searching and retrieving content from Confluence documentation systems, providing capabilities for both document searches and full page content retrieval.Last updated -1Python
- -securityAlicense-qualityA Model Context Protocol (MCP) server that scrapes, indexes, and searches documentation for third-party software libraries and packages, supporting versioning and hybrid search.Last updated -231129TypeScriptMIT License
- -securityFlicense-qualityAn MCP server that enables interaction with Markdown knowledge bases, allowing users to search and retrieve content by tags, text, URL, or date range from their local markdown files.Last updated -70Python