> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/answers/can-i-use-the-npm-routes-from-agents-or-mcp>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/answers/can-i-use-the-npm-routes-from-agents-or-mcp.mdx>

---

# Can I use the npm routes from agents or MCP?

Yes. Every npm route is reachable through Ask (POST /v1/ask) in plain English and through MCP with the same credit metering as REST. Use the typed routes for production jobs and the agent surfaces for exploration.

Source: [npm data API](https://www.socialfetch.dev/platforms/npm)

## Related questions

- [Is there an npm API for package metadata and downloads?](https://www.socialfetch.dev/answers/is-there-an-npm-api-for-package-metadata-and-downloads)
