About clouddocs
clouddocs is a CLI and MCP server for searching, reading, and finding related AWS documentation pages. It is for developers consulting public AWS docs, requires no AWS account or API key, and restricts reading and recommendations to AWS documentation hosts.
Key features
- 01Search the official AWS documentation index
- 02Convert pages to Markdown-style text
- 03Read long pages in slices
- 04Recommend linked related documentation
- 05Restrict page access to AWS documentation hosts
Use cases
- 01Find official docs for AWS services
- 02Read long documentation pages in slices
- 03Discover related material from a documentation page
MCP support
Its stdio MCP server provides tools to search documentation, read pages, and recommend related pages. Reading and recommendations accept only AWS documentation hosts.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
3Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | Optional maximum number of search results to return; defaults to 10. |
| search_phrase | string | Yes | The search phrase to query AWS documentation for. |
Details
From the project READMEclouddocs
clouddocs is a reading room for AWS documentation. It searches the official AWS documentation index for a phrase, opens a documentation page and returns it as clean markdown-style text you can page through in slices, and suggests the related documentation pages a page points to. It works from the command line or as an MCP server for agents, and it needs no AWS account and no API key: everything it reads is the public documentation site.
Only AWS documentation addresses are accepted for reading and
recommendations — docs.aws.amazon.com, aws.amazon.com, and their
subdomains. Any other host is refused before a request is made.
Install
npx @reneturcios/clouddocs search "s3 bucket naming"
Or run the container image:
docker run -i ghcr.io/cloudcorprecords/clouddocs
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
CLI
# Search the documentation index
clouddocs search "s3 bucket naming rules"
clouddocs search "lambda execution role" --limit 5 --json
# Read a page as markdown-style text, optionally one window of it
clouddocs read https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
clouddocs read https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html --start-index 5000 --max-length 5000
# Related pages for a documentation page
clouddocs recommend https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
clouddocs --version
Exit codes: 0 on success, 1 when a search or fetch fails (the
error names the problem), 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/clouddocs mcp
MCP client configuration:
{
"mcpServers": {
"clouddocs": {
"command": "npx",
"args": ["-y", "@reneturcios/clouddocs", "mcp"]
}
}
}
Tools
| Tool | Input | What it returns |
|---|---|---|
search_documentation | search_phrase (string, required), limit (integer, optional) | Matching documentation pages: title, URL, and a short summary for each. Search runs against the official search endpoint at search.docs.aws.amazon.com. |
read_documentation | url (string, required), max_length (integer, optional), start_index (integer, optional) | The page converted to markdown-style text: headings, links, lists, and code blocks preserved, navigation and scripts removed. start_index and max_length select a window of the converted text so long pages can be read in slices. |
recommend | url (string, required) | Related AWS documentation pages for the given page: the documentation pages it links to, in order, de-duplicated. |
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev # run the CLI from source via tsx
License
MIT — see LICENSE.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.