langgraph-checkpoint-mongodb
Library with a MongoDB implementation of LangGraph checkpoint saver.
Decision gist · record as of 2026-08-14
Yes, if you are building LangGraph applications that require MongoDB-backed state persistence. Install friction is low, maintenance is active, and the API is straightforward. Verify the license terms first and confirm MongoDB availability in your deployment environment.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running MongoDB instance and Python 3.10 or later.
- Low friction installation with three runtime dependencies.
- Package is actively maintained and requires Python 3.10 or later.
License · maintenance · safety
(unclear) — License status is unclear; the package metadata does not declare an SPDX identifier or license text. Verify the actual license terms before use.
last release 2026-05-12 (94 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 431,679 downloads/mo, #6,715 on PyPI
Alternatives
Verify before relying
pip install langgraph-checkpoint-mongodb
from langgraph.checkpoint.mongodb import MongoDBSaver
MONGODB_URI = "mongodb://localhost:27017"
DB_NAME = "checkpoint_example"
with MongoDBSaver.from_conn_string(MONGODB_URI, DB_NAME) as checkpointer:
checkpointer.put(write_config, checkpoint, {}, {})
checkpointer.get(read_config)- Exact license terms and any restrictions on commercial or proprietary use.
- Production-readiness and stability guarantees for the package.
What it is and what it does
This package implements a CheckpointSaver for LangGraph that stores agent state and execution history in MongoDB. It is designed for workflows that need to persist intermediate steps, recover from failures, or replay execution paths—common requirements in multi-step agentic applications.
The package provides both synchronous and asynchronous APIs (put/get/list and aput/aget/alist) for storing, retrieving, and listing checkpoints. It integrates with LangGraph's checkpoint protocol and relies on pymongo for MongoDB connectivity and langchain-mongodb for higher-level abstractions. You instantiate a MongoDBSaver from a connection string, then use it as a context manager to persist and recover checkpoint data.
Use it for
- Store intermediate states in multi-step workflows to enable resumption after failures.
- Persist agent decision history and channel values for audit trails and debugging.
- Implement checkpoint-based recovery in long-running tasks without restarting from scratch.
- Build async-first systems that checkpoint state asynchronously during execution.
- Retrieve and analyze past execution paths using MongoDB queries.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building LangGraph applications that require MongoDB-backed state persistence.
Install friction is low, maintenance is active, and the API is straightforward. Verify the license terms first and confirm MongoDB availability in your deployment environment.
Install
langgraph-checkpoint-mongodb on PyPI
Before you install
Low friction installation with three runtime dependencies. Package is actively maintained and requires Python 3.10 or later.
Requires a running MongoDB instance and Python 3.10 or later.
License in practice
License status is unclear; the package metadata does not declare an SPDX identifier or license text. Verify the actual license terms before use.
Quickstart
pip install langgraph-checkpoint-mongodb
from langgraph.checkpoint.mongodb import MongoDBSaver
MONGODB_URI = "mongodb://localhost:27017"
DB_NAME = "checkpoint_example"
with MongoDBSaver.from_conn_string(MONGODB_URI, DB_NAME) as checkpointer:
checkpointer.put(write_config, checkpoint, {}, {})
checkpointer.get(read_config)
Verify before relying
- Exact license terms and any restrictions on commercial or proprietary use.
- Production-readiness and stability guarantees for the package.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packageslangchain-mongodblanggraph-checkpointpymongo |
| Maintenance | Actively maintained 94 days since the last release |
| First released | |
| Downloads | 431,679 / month, #6,715 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: langgraph_checkpoint_mongodb-0.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “langgraph checkpoint mongodb”
- langgraph-checkpoint-mongodbProvides a MongoDB-backed checkpoint storage implementation for…
- langgraph-checkpoint-sqliteProvides a SQLite-backed checkpoint saver for LangGraph, enabling…
- langgraph-checkpoint-postgresProvides a Postgres-backed checkpoint saver for LangGraph, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also langgraph-checkpoint-redis · langgraph-checkpoint-postgres · langgraph-checkpoint-sqlite · langgraph-checkpoint · langgraph-checkpoint-aws · langchain-mongodb · metaflow-checkpoint · orbax-checkpoint · langgraph-supervisor · langgraph-sdk