MetaPost is distributed with many distributions of the TeX and Metafont framework.
The encapsulated postscript produced by Metapost can be included in TeX, ConTeXt, and LaTeX documents via standard eps-inclusion commands.