# KaTeX — card for AI agents

Fast, web-based math typesetting library for rendering LaTeX.

Category: Markdown, editors and content · npm package `katex` · latest version 0.19.1 (checked 2026-11-01)
Install: `npm install katex`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 77.9 (#136 of all tools, 5 of 149 in its category)
- Used in 61 public projects set up for AI coding agents (1.0%)
- Downloads last week: 47,862,319 (as of 2026-11-24), +55.9% over 4 weeks
- GitHub stars: 20,536 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
React 83.6%, Lucide React 65.6%, Tailwind Merge 62.3%, Tailwind CSS 80.3%, clsx 62.3%, react-markdown 45.9%

## Checked alternatives (same job)
- Marked: https://agentgid.com/tools/marked/agent.md
- Shiki: https://agentgid.com/tools/shiki/agent.md
- highlight.js: https://agentgid.com/tools/highlight-js/agent.md
- React Syntax Highlighter: https://agentgid.com/tools/react-syntax-highlighter/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/katex/
- Homepage: https://katex.org
- Repository: https://github.com/KaTeX/KaTeX

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
