AWS Bedrock KB Retrieval
Query Amazon Bedrock Knowledge Bases using natural language to retrieve relevant information from your data sources.
Ads
Overview
MCP server for accessing Amazon Bedrock Knowledge Bases - Find and explore all available knowledge bases - Search for knowledge bases by name or tag - List data sources associated with each knowledge base - Retrieve information using conversational queries - Get relevant passages from your knowledge bases - Access citation information for all results - Focus your queries on specific data sources - Include or exclude specific data sources - Prioritize results from specific data sources - Improve relevance of retrieval results - Use Amazon Bedrock reranking capabilities - Sort results by relevance to your query
Installation
uvx awslabs.bedrock-kb-retrieval-mcp-server@latest
Configuration
{
"mcpServers": {
"awslabs.bedrock-kb-retrieval-mcp-server": {
"command": "uvx",
"args": [
"awslabs.bedrock-kb-retrieval-mcp-server@latest"
],
"env": {
"AWS_PROFILE": "your-profile-name",
"AWS_REGION": "us-east-1",
"FASTMCP_LOG_LEVEL": "ERROR",
"KB_INCLUSION_TAG_KEY": "optional-tag-key-to-filter-kbs",
"BEDROCK_KB_RERANKING_ENABLED": "false"
},
"disabled": false,
"autoApprove": []
}
}
}Capabilities
- Discover available knowledge bases
Ask the assistant to list all Bedrock knowledge bases or search by name and tags using `list_knowledge_bases`.
- Retrieve information with natural language
Query a knowledge base conversationally and get relevant passages with citations via `retrieve_from_knowledge_base`.
- Filter results by data source
Narrow retrieval to specific data sources by including or excluding them in a query.
- Rerank results for relevance
Enable Amazon Bedrock reranking on a query to sort retrieved passages by relevance to your question.
Tags
- aws
- knowledge-retrieval
- rag
- ai-model
Related MCP servers
Metabase
OfficialOfficial Metabase MCP server for searching data, building queries on the semantic layer, and visualizing results through MCP clients.
AWS CloudTrail
OfficialThis AWS Labs Model Context Protocol (MCP) server for CloudTrail enables your AI agents to query AWS account activity for security investigations, compliance auditing, and operational troubleshooting.
AWS CDK
OfficialGet prescriptive CDK advice, explain CDK Nag rules, check suppressions, generate Bedrock Agent schemas, and discover AWS Solutions Constructs patterns.
AWS Cost Analysis
OfficialAnalyze CDK projects to identify AWS services used and get pricing information from AWS pricing webpages and API.