# Cats

> Lightweight, modular, and extensible library for functional programming in Scala

Source: https://talira.ai/catalog/cats-sptyhtma
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / functional programming](https://talira.ai/categories/libraries/functional-programming)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Funded by donations to the Typelevel Foundation and Open Collective.
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- Backed by: [Typelevel](https://talira.ai/orgs/typelevel.md)

Cats is a library of functional programming abstractions for [Scala](https://talira.ai/catalog/scala-g5wyay8j.md): type classes such as Functor, Applicative, Monad, Traverse and Semigroup, data types such as Validated, NonEmptyList, Kleisli and the monad transformers, and syntax that makes them pleasant to use. It aims to be core, binary compatible, modular, approachable and efficient, and is the foundation of the Typelevel ecosystem of pure, typeful libraries such as Cats Effect, fs2, http4s and Doobie. The name shortens "category", but you don't need category theory to use it. It runs on the JVM, Scala.js and Scala Native, and is MIT licensed.

## Links

- Website: https://typelevel.org/cats/
- GitHub: https://github.com/typelevel/cats
- Docs: https://typelevel.org/cats/typeclasses.html

## Problems it solves

- write pure functional Scala with standard Monad, Functor and Traverse type classes instead of rolling my own
- collect every validation error at once instead of stopping at the first
- traverse a list of Options or Futures and get back an Option or Future of a list
- combine nested effects like Future of Either without writing nested maps
- a non-empty list type so the compiler proves the list has at least one element
- a shared foundation of type classes that my Scala libraries and my team's code all agree on
- learn functional programming patterns in Scala with an approachable library and docs

## Features

- type classes: Functor, Applicative, Monad, Traverse, Foldable, Semigroup, Monoid and more
- data types: Validated, NonEmptyList, Chain, Kleisli, Ior, EitherT, OptionT
- syntax extensions with a single import
- laws modules to test type class instances
- Free monads (cats-free), Algebra and Alleycats modules
- JVM, Scala.js and Scala Native builds
- binary compatibility within a major version

## Capabilities

- Has official SDKs: plan not known

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- backed by Typelevel

Warnings:

- GitHub activity not fetched yet

## Sources

[^1]: https://github.com/typelevel/cats (checked 24 Nov 2026)
[^2]: https://github.com/typelevel/cats/blob/main/COPYING (checked 24 Nov 2026)
