AWS Documentation MCP Server
Provides access to AWS documentation, enabling users to fetch and convert documentation pages to markdown, search AWS documentation using the official search API, and get content recommendations for AWS documentation pages.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AWS Documentation MCP Server search for S3 bucket encryption best practices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AWS Documentation MCP Server
Model Context Protocol (MCP) server for AWS Documentation
This MCP server provides tools to access AWS documentation, search for content, and get recommendations.
Features
Read Documentation: Fetch and convert AWS documentation pages to markdown format
Search Documentation: Search AWS documentation using the official search API (global only)
Recommendations: Get content recommendations for AWS documentation pages (global only)
Get Available Services List: Get a list of available AWS services in China regions (China only)
Related MCP server: RAG Documentation MCP Server
Prerequisites
Installation Requirements
Install
uvfrom Astral or the GitHub READMEInstall Python 3.10 or newer using
uv python install 3.10(or a more recent version)
Installation
Cursor | VS Code |
Configure the MCP server in your MCP client configuration (e.g., for Amazon Q Developer CLI, edit ~/.aws/amazonq/mcp.json):
{
"mcpServers": {
"awslabs.aws-documentation-mcp-server": {
"command": "uvx",
"args": ["awslabs.aws-documentation-mcp-server@latest"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"AWS_DOCUMENTATION_PARTITION": "aws"
},
"disabled": false,
"autoApprove": []
}
}
}Note: Set
AWS_DOCUMENTATION_PARTITIONtoaws-cnto query AWS China documentation instead of global AWS documentation.
or docker after a successful docker build -t mcp/aws-documentation .:
{
"mcpServers": {
"awslabs.aws-documentation-mcp-server": {
"command": "docker",
"args": [
"run",
"--rm",
"--interactive",
"--env",
"FASTMCP_LOG_LEVEL=ERROR",
"--env",
"AWS_DOCUMENTATION_PARTITION=aws",
"mcp/aws-documentation:latest"
],
"env": {},
"disabled": false,
"autoApprove": []
}
}
}Basic Usage
Example:
"look up documentation on S3 bucket naming rule. cite your sources"
"recommend content for page https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html"

Tools
read_documentation
Fetches an AWS documentation page and converts it to markdown format.
read_documentation(url: str) -> strsearch_documentation (global only)
Searches AWS documentation using the official AWS Documentation Search API.
search_documentation(search_phrase: str, limit: int) -> list[dict]recommend (global only)
Gets content recommendations for an AWS documentation page.
recommend(url: str) -> list[dict]get_available_services (China only)
Gets a list of available AWS services in China regions.
get_available_services() -> strAvailable Tools
3 toolsread_documentationA
Fetch and convert an AWS documentation page to markdown format.
Usage
This tool retrieves the content of an AWS documentation page and converts it to markdown format. For long documents, you can make multiple calls with different start_index values to retrieve the entire content in chunks.
URL Requirements
Must be from the docs.aws.amazon.com domain
Must end with .html
Example URLs
https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html
Output Format
The output is formatted as markdown text with:
Preserved headings and structure
Code blocks for examples
Lists and tables converted to markdown format
Handling Long Documents
If the response indicates the document was truncated, you have several options:
Continue Reading: Make another call with start_index set to the end of the previous response
Stop Early: For very long documents (>30,000 characters), if you've already found the specific information needed, you can stop reading
Args: ctx: MCP context for logging and error handling url: URL of the AWS documentation page to read max_length: Maximum number of characters to return start_index: On return output starting at this character index
Returns: Markdown content of the AWS documentation
Inputs: url (required), max_length, start_index. Returns: result
recommendA
Get content recommendations for an AWS documentation page.
Usage
This tool provides recommendations for related AWS documentation pages based on a given URL. Use it to discover additional relevant content that might not appear in search results.
Recommendation Types
The recommendations include four categories:
Highly Rated: Popular pages within the same AWS service
New: Recently added pages within the same AWS service - useful for finding newly released features
Similar: Pages covering similar topics to the current page
Journey: Pages commonly viewed next by other users
When to Use
After reading a documentation page to find related content
When exploring a new AWS service to discover important pages
To find alternative explanations of complex concepts
To discover the most popular pages for a service
To find newly released information by using a service's welcome page URL and checking the New recommendations
Finding New Features
To find newly released information about a service:
Find any page belong to that service, typically you can try the welcome page
Call this tool with that URL
Look specifically at the New recommendation type in the results
Result Interpretation
Each recommendation includes:
url: The documentation page URL
title: The page title
context: A brief description (if available)
Args: ctx: MCP context for logging and error handling url: URL of the AWS documentation page to get recommendations for
Returns: List of recommended pages with URLs, titles, and context
Inputs: url (required). Returns: result
search_documentationA
Search AWS documentation using the official AWS Documentation Search API.
Usage
This tool searches across all AWS documentation for pages matching your search phrase. Use it to find relevant documentation when you don't have a specific URL.
Search Tips
Use specific technical terms rather than general phrases
Include service names to narrow results (e.g., "S3 bucket versioning" instead of just "versioning")
Use quotes for exact phrase matching (e.g., "AWS Lambda function URLs")
Include abbreviations and alternative terms to improve results
Result Interpretation
Each result includes:
rank_order: The relevance ranking (lower is more relevant)
url: The documentation page URL
title: The page title
context: A brief excerpt or summary (if available)
Args: ctx: MCP context for logging and error handling search_phrase: Search phrase to use limit: Maximum number of results to return
Returns: List of search results with URLs, titles, and context snippets
Inputs: search_phrase (required), limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose with no overlap: read_documentation fetches and converts content, recommend provides related page suggestions, and search_documentation performs keyword searches. An agent can easily differentiate between reading existing content, discovering related content, and finding new content via search.
All tool names follow a consistent verb_noun pattern (read_documentation, recommend, search_documentation), with 'recommend' being a slight abbreviation but still maintaining the same readable style. The naming is predictable and uniform across the set.
With only 3 tools, the set feels thin for an AWS documentation server, which could benefit from more granular operations like filtering by service or category. However, the tools cover core use cases (read, discover, search), making it borderline but functional for basic documentation access.
The tools provide a solid foundation for reading, discovering, and searching AWS documentation, with no dead ends. Minor gaps exist, such as the inability to list available services or filter recommendations by type, but agents can work around these using the existing tools effectively.
Related MCP Connectors
Search and read the Mammoth Analytics docs. Tools: search_docs, get_doc, list_docs.
Find, write, publish and check pages and API references in your DeveloperHub docs from an AI client
Tailor Platform for AI assistants: search, list and read the platform documentation.
Access and search Branch's official API documentation directly within any AI agent or client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to enhance their responses with relevant documentation through a semantic vector search, offering tools for managing and processing documentation efficiently.65MIT
- AlicenseAqualityDmaintenanceProvides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.71MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search documentation of packages and services to find implementation details, examples, and specifications.MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to search for documentation of packages and services, providing implementation details, examples, and specifications through a specialized API.12MIT