Skip to content

Menu

DynamoDB MCP Server logo

DynamoDB MCP Server

Published · Updated

At a glance

Category
Databases
Watch out for
It does not query or modify items in your existing tables.

AWS's DynamoDB MCP Server, awslabs.dynamodb-mcp-server, describes itself as the official developer experience server for DynamoDB. That is worth reading carefully: it is a data-modelling and design assistant, not a tool for querying or writing items in your tables, which is what an earlier version of this page suggested.

Its value is in the hardest part of using DynamoDB, which is designing the data model. dynamodb_data_modeling loads an expert prompt that walks through requirements, access patterns, key design and multi-table versus single-table decisions. dynamodb_data_model_validation then tests the model by starting DynamoDB Local, creating the tables with test data and checking the access patterns actually work. compute_performances_and_costs estimates performance and cost.

It also helps with migrations. source_db_analyzer examines an existing MySQL, PostgreSQL, SQL Server or Oracle database to extract its schema and access patterns, either in self-service mode, where you run the queries, or managed mode for MySQL. From the finished model, the schema converter and validator produce a schema file, generate_resources produces CDK code, and generate_data_access_layer writes code for accessing the tables. AWS adds its usual reminder that AI output should be reviewed.

How it connects

Your AI app

An assistant or agent that supports MCP

DynamoDB MCP Server

Runs as

  • Python (uv / pip)
  • Docker

Gives the agent

  • Data modelling guidance
  • Model validation
  • Migration analysis
  • Code and infrastructure
  • Cost estimates

DynamoDB

The data or system the tools act on

Your AI app talks to DynamoDB MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Data modelling guidance
dynamodb_data_modeling guides requirements gathering, access pattern analysis and key design.
Model validation
dynamodb_data_model_validation creates tables in DynamoDB Local with test data and checks access patterns.
Migration analysis
source_db_analyzer extracts schema and access patterns from MySQL, PostgreSQL, SQL Server or Oracle.
Code and infrastructure
Schema converter and validator, generate_resources for CDK, and generate_data_access_layer for application code.
Cost estimates
compute_performances_and_costs estimates performance and cost for the model.

Setting it up

Add a server that runs uvx awslabs.dynamodb-mcp-server@latest (Docker and Windows instructions are in the README). The prerequisites are uv, Python 3.10 (uv python install 3.10) and AWS credentials. Model validation runs against DynamoDB Local, which needs either a running container runtime (Docker, Podman, Finch or nerdctl) or Java 17 or newer. Keep the generated dynamodb_data_model.json in your repository, because later tools read it.

Run in a terminal
claude mcp add dynamodb -- uvx awslabs.dynamodb-mcp-server@latest

Runs the awslabs.dynamodb-mcp-server package from PyPI. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Designing a DynamoDB table layout for a new application's access patterns
  • Checking a single-table design actually supports every query before building it
  • Planning a migration from MySQL or PostgreSQL to DynamoDB
  • Generating CDK and data access code from a finished model

Limitations and things to watch

  • It does not query or modify items in your existing tables.
  • Validation needs DynamoDB Local, so you need a container runtime or Java 17 or newer installed.
  • Generated models and code need review, as AWS notes.
  • Only CDK is supported for generated infrastructure at present.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…