How to install xh
brew install xh xh use case
Making HTTP requests with a user-friendly CLI, similar to HTTPie but faster and written in Rust.
When to use xh
- Testing RESTful APIs and endpoints interactively or in scripts
- Debugging HTTP responses and headers with colored output
- Exploring and prototyping API calls without a browser
- Automating HTTP requests in CI/CD pipelines or shell scripts
When not to use xh
- When you need a full browser to execute JavaScript or render web pages
- When you require complex session management or cookie handling beyond basic requests
- When you need a GUI or graphical HTTP client
xh features
- · Supports all common HTTP methods (GET, POST, PUT, DELETE, etc.)
- · Colorized and formatted output with JSON highlighting
- · Built-in support for headers, query parameters, and request body (JSON, form, file uploads)
- · Session support and persistent cookies
Want your agent to find this automatically?
Add the MCP server to your agent config and it will discover tools like xh on its own.
Set up MCP →