Amazon Bedrock Knowledge Base Retrieval MCP Server

AIstdio
Repository

Official AWS Labs MCP server for discovering and querying Amazon Bedrock Knowledge Bases. It returns retrieved passages with citations, supports data-source filters, and can optionally rerank results. The default configuration uses local AWS credentials and keeps reranking disabled unless explicitly enabled.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "aws-bedrock-kb-retrieval": {
      "command": "uvx",
      "args": [
        "awslabs.bedrock-kb-retrieval-mcp-server@latest"
      ],
      "env": {
        "AWS_PROFILE": "<YOUR_AWS_PROFILE>",
        "AWS_REGION": "<YOUR_AWS_REGION>",
        "KB_INCLUSION_TAG_KEY": "<YOUR_KB_INCLUSION_TAG_KEY>",
        "BEDROCK_KB_RERANKING_ENABLED": "<YOUR_BEDROCK_KB_RERANKING_ENABLED>"
      }
    }
  }
}

Tools (2)

ListKnowledgeBases

Discover tagged Bedrock Knowledge Bases and their available data sources.

{
  "type": "object",
  "properties": {}
}

QueryKnowledgeBases

Retrieve cited passages from one or more Bedrock Knowledge Bases with optional filtering and reranking.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Natural-language retrieval query"
    },
    "reranking": {
      "type": "boolean",
      "description": "Override the server default for Bedrock reranking"
    },
    "knowledge_base_id": {
      "type": "string",
      "description": "Knowledge Base identifier to query"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server information

Author
AWS Labs (@awslabs)
Repository
https://github.com/awslabs/mcp/tree/main/src/bedrock-kb-retrieval-mcp-server
License
Apache-2.0
Stars
0
Last updated
September 1, 2026
Amazon Bedrock Knowledge Base Ret… - MCP Server | OpenModels