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

Black

The uncompromising Python code formatter

67Good

Scored 4 hours ago · breakdown

About Black

Black is an MCP server published by psf in the Other category: the uncompromising Python code formatter. It is published to PyPI as black and runs with uvx.

The repository has 42K stars and 3.2K forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is 26.10.1 (10 Oct 2026): This release fixes a security issue in Black's bundled GitHub Action. It follows 26.10.0 (4 Oct 2026), and the 5 most recent releases go back to 26.3.1 (12 Mar 2026). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. Its topics include autopep8, code, codeformatter, formatter, gofmt and hacktoberfest.

Install

uvx
uvx black
pip
pip install black
From source
git clone https://github.com/psf/black

Security checks

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

  • ✓README presentThe repository's README runs to about 1.1K words.
  • ✓License declaredThe repository declares the MIT 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 50 source files and found 2 calls to eval or shell execution, in src/blib2to3/pgen2/literals.py:4 and src/blib2to3/pgen2/pgen.py:100. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
None found in the source
Starts other programs
No calls that start other programs
Outbound network calls
2 callssrc/blackd/client.py:80, src/blackd_format/__init__.py:86
Writes or deletes files
6 callsaction/main.py:193, action/main.py:198, src/black/__init__.py:1111
Lockfile
None in the repository

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

Releases

26.10.126.10.1 · 10 Oct 2026Highlights This release fixes a security issue in Black's bundled GitHub Action. Repositories that use the action are encouraged to update to the latest version of Black immediately. This update is received automatically when using…
26.10.026.10.0 · 4 Oct 2026Stable style `--line-ranges` no longer inserts an empty line after a docstring when the range covers only the docstring itself (#5312) Fix `# fmt: skip` on a bracketed ternary turning the surrounding tuple into a call (#5464) Fix crash…
26.5.126.5.1 · 18 May 2026Stable style Fix unstable formatting of annotated assignments whose subscript annotation contains an inline comment (e.g. `x: list[ # pyright: ignore[...]`) (#5130) Preserve inline comments (including `# type: ignore`) immediately before…
26.5.026.5.0 · 16 May 2026Highlights Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810), both new syntactic features in Python 3.15 (#5048) Python 3.15 is now supported. Compiled wheels are not yet provided for Python 3.15, so…
26.3.126.3.1 · 12 Mar 2026Stable style Prevent Jupyter notebook magic masking collisions from corrupting cells by using exact-length placeholders for short magics and aborting if a placeholder can no longer be unmasked safely (#5038) Configuration Always hash cache…

README

The repository's README runs to about 1.1K words, fetched 6 hours ago. The original in the repository is authoritative.

Read full README
Questions

About Black

How do I install Black?

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

Is Black safe to use with an AI agent?

Its trust score is 67 out of 100 (good). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. Conduid's scan of 50 source files found that it makes outbound network calls (2 calls) and writes or deletes files (6 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is Black still maintained?

Yes — the latest release is 26.10.1 (10 Oct 2026), and the last commit was 11 hours ago. The repository has 42K stars and 268 open issues.

What license is Black released under?

The repository declares the MIT license. That applies to the latest release, 26.10.1, as well.