search_ietf_rfc_by_keyword
Search for IETF RFC documents by keyword in their titles, returning a list of matching RFCs with numbers and titles. Facilitates quick access to relevant Internet standards and protocols.
Instructions
Search for IETF RFC documents from RFC Editor Index by keyword in their titles
Args:
keyword: The keyword to search for
Returns:
A list of matching RFCs with their numbers and titles
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes |
Implementation Reference
- src/mcp_server_ietf/server.py:94-116 (handler)The handler function implementing the 'search_ietf_rfc_by_keyword' tool logic. Registered via @mcp.tool() decorator. Searches the pre-loaded RFC titles for matches against the keyword (case-insensitive) and returns a list of matching RFC numbers and titles.@mcp.tool() def search_ietf_rfc_by_keyword(keyword: str, ctx: Context) -> List[Dict[str, str]]: """ Search for IETF RFC documents from RFC Editor Index by keyword in their titles Args: keyword: The keyword to search for Returns: A list of matching RFCs with their numbers and titles """ server_ctx = ctx.request_context.lifespan_context results = [] for number, title in server_ctx.rfc_titles.items(): if keyword.lower() in title.lower(): results.append({ "number": number, "title": title }) logger.debug(f"search_rfc_by_keyword: {results}") return results