Comparison

mypy vs Psalm

On the evidence we track, Psalm leads this comparison with a composite score of 81/100. Scores are only directly comparable because these tools share a category; the full breakdown and every source is below.

Machine formatsJSONMarkdownGraphQLor send Accept: application/json
Attribute comparison across 2 tools
Attribute80mypy81PsalmLeader
Vioscale score80 / 100low · 22%81 / 100low · 14%
Commits last 30d44-
Github stars20,5585,875
Package downloads weekly48,604,416-
Options-{"self_hosted":true}
LongMypy is an optional static type checker for Python that combines the benefits of dynamic and static typing. It enables compile-time type checking with no runtime overhead while allowing gradual migration from dynamic to static typing.A free and open-source static analysis tool for PHP that identifies type-related bugs and security vulnerabilities in code, with automatic fixing capabilities.
Capabilities{"function":"type_checker","deployment":"cli_local","open_source":"oss","pricing_model":"free","language_scope":"single_language"}{"autofix":true,"function":"static_analyzer","ci_gating":true,"deployment":"cli_local","open_source":"oss","config_model":"config_file","custom_rules":true,"pricing_model":"free","language_scope":"single_language","editor_integration":true}
PrimaryPythonPHP
Spdx-MIT
Support-{"cli":true}
Pricing{"type":"open_source","sourceUrl":"https://mypy-lang.org","retrievedAt":"2026-08-05T14:11:24.368Z"}{"type":"open_source","plans":[{"free":true,"name":"Open Source","description":"Free and open-source static analysis tool for PHP","contactSales":false}],"summary":"Free and open-source. Optional paid support contracts available.","freeTier":true,"sourceUrl":"https://psalm.dev/","retrievedAt":"2026-08-03T22:32:46.041Z"}
Free tier-Yes
Modelopen_sourcecommercial
Price levelfreefree
Transparent-Yes
Cadence days-1

Capabilities

Feature-by-feature on the axes that matter for code quality tools. “-” means undocumented, not absent.

Capability comparison for Code Quality Tools
CapabilitymypyPsalm
Core
FunctionType checkerStatic analyzer
Language scopeSingle-languageSingle-language
Implementation language--
Capability
Autofix-
Config
Config model-Config file
Extensibility
Custom rules-
Deployment
DeploymentCLI-localCLI-local
Delivery
Editor integration-
CI / VCS gating-
Insight
Code metrics--
Performance
Incremental / monorepo aware--
Licensing
Open-sourceOSSOSS
Commercial
Pricing modelFreeFree

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.