Kubernetes Documentation MCP Server
A Kubernetes documentation assistant built with the MCP (Model Context Protocol) Python SDK.
Features
- Fetch and convert Kubernetes documentation to Markdown format
- Get related/recommended documentation pages
Installation
-
Install the
uvpackage manager:curl -LsSf https://astral.sh/uv/install.sh | sh -
Initialize the project and install dependencies:
uv init . uv add "mcp[cli]" requests beautifulsoup4 markdown -
Install the MCP server:
uv run mcp install main.py
Usage
Start the MCP server:
uv run python main.py
This will add json definition to Claude Desktop (to MPC Host/Client) like this and run server in background.
{
"mcpServers": {
"k8s-doc": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/<path-to>/k8s-doc-mcp/main.py"
]
}
}
}
Available Tools
read_documentation(url): Fetch and convert a Kubernetes documentation page to Markdown formatrecommend(url): Get recommended Kubernetes documentation pages related to a specified URL
Examples
- read_documentation Access and understand the content of specific Kubernetes documentation pages.
How to https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/? How to https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/?
- recommend Find other pages related to a topic, typically starting from a page you've just read or are interested in.
"Can you recommend other pages related to this URL: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/?" "What other documentation pages are related to the one about Deployments (https://kubernetes.io/docs/concepts/workloads/controllers/deployment/)?" "Based on the information about Services, what other pages might be relevant? (Page: https://kubernetes.io/docs/concepts/services-networking/service/)" "Explore related topics starting from the documentation on Pods (https://kubernetes.io/docs/concepts/workloads/pods/)."
Resources
Recommend MCP Servers 💡
leelasd/molecule_mcp
A Model Context Protocol (MCP) server that provides tools for visualizing molecules and retrieving molecular properties using SMILES codes, integrating with LLM applications like Claude Desktop.
xinlei413/DOC-Server-MCP
An MCP server designed to scrape, process, index, and search documentation for various software libraries and packages, supporting multiple LLM embedding providers and hybrid search.
mgd1984/cursor-rules
An MCP server providing a template for Cursor Rules to offer consistent guidance for Next.js applications with TypeScript, hosted on gitmcp.io.

TomTom Model Context Protocol Server
TomTom Model Context Protocol Server provides TomTom's comprehensive mapping, navigation, and location intelligence services to AI agents, enabling them to access real-time road data, optimized routing, and traffic information.
brightdata/brightdata-mcp
Bright Data's MCP server enabling LLMs, agents, and apps to access real-time web data seamlessly without getting blocked
opengenes-mcp
MCP for the open-genes