# mypy vs Psalm

**Leader by vioscaleAI score:** mypy

| Attribute | mypy | Psalm |
|---|---|---|
| **vioscaleAI score** | 69.4 (66% (medium)) | 63.7 (42% (low)) |
| activity.commits_last_30d | 100 | 100 |
| adoption.dependent_repos | 52,771 | 15,920 |
| adoption.github_stars | 20,682 | 5,896 |
| adoption.package_downloads_weekly | 42,892,033 | - |
| content.faq | `[{"answer":"A type analysis tool for Python that enables code to transition from pure dynamic typing to statically-typed code through annotations, with error detection at check time. Code runs with negligible performance impact and developers can incrementally adopt static types in existing projects. It is indexed under Code Quality Tools.","source":"https://mypy-lang.org","question":"What is mypy?","confidence":0.6},{"answer":"mypy is open source, so it can be self-hosted and used at no licence cost. Pricing changes often, so verify at source before relying on it.","source":"https://mypy-lang.org","question":"Is mypy free to use?","confidence":0.6},{"answer":"mypy supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://mypy-lang.org","question":"What platforms does mypy support?","confidence":0.6}]` | `[{"answer":"Psalm is a free, open-source static analyzer for PHP that identifies type-related errors and bugs in codebases at their strictest settings. It can automatically fix many common issues and supports safe coding patterns used in other languages. It is indexed under Code Quality Tools.","source":"https://psalm.dev/","question":"What is Psalm?","confidence":0.6},{"answer":"Psalm is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://psalm.dev/","question":"Is Psalm free to use?","confidence":0.6},{"answer":"Psalm supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://psalm.dev/","question":"What platforms does Psalm support?","confidence":0.6},{"answer":"Yes. Psalm can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://psalm.dev/","question":"Can Psalm be self-hosted?","confidence":0.6},{"answer":"Yes. Psalm is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/vimeo/psalm","question":"Is Psalm open source?","confidence":0.95}]` |
| deployment.options | `{"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | A static type checker that analyzes Python code to catch type errors before runtime. Supports gradual typing, allowing you to mix static and dynamic typing and incrementally add type hints to existing codebases. | Psalm scans PHP codebases to discover potential problems and includes Psalter, a tool for automatically fixing identified issues with configurable safety measures and PHP version targeting. |
| features.capabilities | `{"autofix":false,"metrics":false,"function":"type_checker","ci_gating":true,"deployment":"cli_local","incremental":true,"open_source":"oss","custom_rules":false,"impl_language":"Python","pricing_model":"free","language_scope":"single_language","editor_integration":true}` | `{"autofix":true,"metrics":true,"function":"static_analyzer","ci_gating":true,"deployment":"cli_local","open_source":"oss","config_model":"config_file","custom_rules":true,"impl_language":"PHP","pricing_model":"free","language_scope":"single_language","editor_integration":true}` |
| integrations.count | 1 | - |
| integrations.list | `[{"name":"VS Code","native":true}]` | - |
| language.primary | Python | PHP |
| license.spdx | - | MIT |
| platform.support | `{"cli":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","sourceUrl":"https://mypy-lang.org","retrievedAt":"2026-08-14T13:45:01.127Z"}` | `{"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"}` |
| pricing.free_tier | - | yes |
| pricing.model | open_source | commercial |
| pricing.price_level | free | free |
| pricing.transparent | - | yes |
| release.cadence_days | - | 1 |
| release.history | - | `[{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-rc2","date":"2026-10-09T16:00:46Z","type":"prerelease","version":"7.0.0-rc2"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.20.0","date":"2026-10-09T16:01:25Z","type":"stable","version":"6.20.0"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.19.2","date":"2026-10-07T13:43:48Z","type":"stable","version":"6.19.2"},{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-rc1","date":"2026-10-05T12:46:32Z","type":"prerelease","version":"7.0.0-rc1"},{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-beta24","date":"2026-10-02T13:17:13Z","type":"prerelease","version":"7.0.0-beta24"},{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-beta23","date":"2026-10-01T09:39:24Z","type":"prerelease","version":"7.0.0-beta23"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.19.1","date":"2026-09-29T11:11:40Z","type":"stable","version":"6.19.1"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.19.0","date":"2026-09-28T14:00:35Z","type":"stable","version":"6.19.0"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.18.1","date":"2026-09-25T20:34:43Z","type":"stable","version":"6.18.1"},{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-beta22","date":"2026-09-21T11:24:43Z","type":"prerelease","version":"7.0.0-beta22"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.18.0","date":"2026-09-21T11:04:09Z","type":"stable","version":"6.18.0"},{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-beta21","date":"2026-09-15T12:56:42Z","type":"prerelease","version":"7.0.0-beta21"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.17.2","date":"2026-09-15T12:43:38Z","type":"stable","version":"6.17.2"},{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-beta20","date":"2026-09-14T10:19:25Z","type":"prerelease","version":"7.0.0-beta20"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.17.1","date":"2026-09-12T13:52:03Z","type":"stable","version":"6.17.1"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.17.0","date":"2026-09-10T12:43:54Z","type":"stable","version":"6.17.0"},{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-beta19","date":"2026-04-15T20:51:53Z","type":"prerelease","version":"7.0.0-beta19"},{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-beta18","date":"2026-04-15T18:57:09Z","type":"prerelease","version":"7.0.0-beta18"},{"url":"https://github.com/vimeo/psalm/releases/tag/6.16.1","date":"2026-03-19T11:07:58Z","type":"stable","version":"6.16.1"},{"url":"https://github.com/vimeo/psalm/releases/tag/7.0.0-beta17","date":"2026-03-17T11:28:08Z","type":"prerelease","version":"7.0.0-beta17"}]` |
| security.scorecard | 6.8 | 4.7 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=mypy&per_page=100","last_12m":0,"max_severity":null}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=packagist&package_name=vimeo%2Fpsalm&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Code Quality Tools)

| Capability | mypy | Psalm |
|---|:--:|:--:|
| **Core** |  |  |
| Function | Type checker | Static analyzer |
| Language scope | Single-language | Single-language |
| Implementation language | Python | PHP |
| **Capability** |  |  |
| Autofix | ✗ | ✓ |
| **Config** |  |  |
| Config model | - | Config file |
| **Extensibility** |  |  |
| Custom rules | ✗ | ✓ |
| **Deployment** |  |  |
| Deployment | CLI-local | CLI-local |
| **Delivery** |  |  |
| Editor integration | ✓ | ✓ |
| CI / VCS gating | ✓ | ✓ |
| **Insight** |  |  |
| Code metrics | ✗ | ✓ |
| **Performance** |  |  |
| Incremental / monorepo aware | ✓ | - |
| **Licensing** |  |  |
| Open-source | OSS | OSS |
| **Commercial** |  |  |
| Pricing model | Free | Free |

*Source: vioscaleAI. Generated 2026-10-16T20:10:42.918Z. "-" = undocumented, not absent.*
