servant is a set of packages for declaring web APIs at the type-level and then using those API specifications to:

  • write servers (this part of servant can be considered a web framework),
  • obtain client functions (in haskell),
  • generate client functions for other programming languages,
  • generate documentation for your web applications
  • and more…

All in a type-safe manner.

DocumentationCookbookWGP2015 Paper


External Tutorials and Blog Posts


If you’d like to be added, please send a pull request changing the file, while maintaining alphabetical order. Being listed does not imply endorsement by the servant maintainers.

This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit