1. Conduid
  2. Other
  3. Asyncpg
MCP server · Other

Asyncpg

A fast PostgreSQL Database Client Library for Python/asyncio.

61Good

Scored 20 hours ago · breakdown

About Asyncpg

Asyncpg is an MCP server published by MagicStack in the Other category: a fast PostgreSQL Database Client Library for Python/asyncio. It is published to PyPI as asyncpg and runs with uvx.

The repository has 8.1K stars and 486 forks, is licensed Apache-2.0, and its last commit was on 8 Oct 2026. The latest release is v0.32.0 (6 Oct 2026): Support Python 3.15 (#1367, #1378) (by @elprans in 1b118464 and 58c0c595) Support PostgreSQL 19 (#1379) (by @elprans in 8d2a5aed) Make pool min_size a maintained connect… It follows v0.31.0 (24 Nov 2025), and the 5 most recent releases go back to v0.28.0 (7 Jul 2023). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include async-programming, async-python, asyncio, database-driver, high-performance and postgresql.

Install

uvx
uvx asyncpg
pip
pip install asyncpg
From source
git clone https://github.com/MagicStack/asyncpg

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 311 words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 25 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
None found in the source
Starts other programs
9 callsasyncpg/cluster.py:104, asyncpg/cluster.py:151, asyncpg/cluster.py:228
Outbound network calls
No outbound network calls
Writes or deletes files
6 callsasyncpg/cluster.py:59, asyncpg/cluster.py:150, asyncpg/cluster.py:194
Lockfile
None in the repository

Pattern matches on the source text of 25 files: places to read, not proof of what the code does at run time.

Releases

v0.32.0v0.32.0 · 6 Oct 2026Improvements Support Python 3.15 (#1367, #1378) (by @elprans in 1b118464 and 58c0c595) Support PostgreSQL 19 (#1379) (by @elprans in 8d2a5aed) Make pool `min_size` a maintained connection floor and add `init_size` to control the number of…
v0.31.0v0.31.0 · 24 Nov 2025Enable Python 3.14 with experimental subinterpreter/freethreading support. Improvements ============ Add Python 3.14 support, experimental subinterpreter/freethreading support (#1279) (by @elprans in 9e42642b) Avoid performing type…
v0.30.0v0.30.0 · 20 Oct 2024Support Python 3.13 and PostgreSQL 17. Improvements ============ Implement GSSAPI authentication (by @eltoder in 1d4e5680 for #1122) Implement SSPI authentication (by @eltoder in 1aab2094 for #1128) Add initial typings (by @bryanforbes in…
v0.29.0v0.29.0 · 5 Nov 2023Minor fixes and improvements. Improvements ============ Python 3.12 and PostgreSQL 16 support (#1084) (by @elprans in deea86ce) Add support for tuple-format custom codecs on composite types (#1061) (by @elprans in 922fcd10) Support…
v0.28.0v0.28.0 · 7 Jul 2023Minor fixes and improvements. Changes ======= Do not try to cleanup statements (#981) (by @fvannee in d2e710fe for #981) Add Pool.is_closing() method (#973) (by @singingwolfboy in 9cb2c1ce for #973) Fix test_tls_version for LibreSSL (#974)…

README

The repository's README runs to about 311 words, fetched 6 days ago. The original in the repository is authoritative.

Read full README
Questions

About Asyncpg

How do I install Asyncpg?

Run uvx asyncpg, then add the server to your MCP client's configuration.

Is Asyncpg safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Conduid's scan of 25 source files found that it starts other programs (9 calls) and writes or deletes files (6 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is Asyncpg still maintained?

Yes — the latest release is v0.32.0 (6 Oct 2026), and the last commit was a month ago. The repository has 8.1K stars and 290 open issues.

What license is Asyncpg released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v0.32.0, as well.