# XPath — card for AI agents

DOM 3 XPath implementation for querying XML/HTML in Node.js and browsers.

Category: Scraping, browsers and parsing · npm package `xpath` · latest version 0.0.36 (checked 2026-11-03)
Install: `npm install xpath`
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: 47.0 (#2317 of all tools, 74 of 141 in its category)
- Used in 2 public projects set up for AI coding agents (0.0%)
- Downloads last week: 24,452,917 (as of 2026-11-24), +57.3% over 4 weeks
- GitHub stars: 234 (as of 2026-11-24)
- Last push: 2026-11-22

## Often used with
LangChain.js 66.7%, Model Context Protocol SDK (JavaScript) 50.0%, adm-zip 50.0%, Axios 50.0%, xmldom 50.0%, fs-extra 33.3%

## Checked alternatives (same job)
- Cheerio: https://agentgid.com/tools/cheerio/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/xpath/
- Homepage: https://github.com/goto100/xpath#readme
- Repository: https://github.com/goto100/xpath

---
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.
