ax-mcp
Enables HTTP requests and web data extraction via natural language, acting as an AI-era curl.
README
ax-mcp
MCP server for ax — the AI-era curl.
Prerequisites
Install ax CLI:
curl -fsSL https://ax.yusuke.run/install | sh
Usage
Run directly
npx -y github:pyoif/ax-mcp
bunx ax-mcp
Add to MCP client config
Example for ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"ax": {
"command": "npx",
"args": ["-y", "github:pyoif/ax-mcp"]
}
}
}
Or with bun:
{
"mcpServers": {
"ax": {
"command": "bunx",
"args": ["ax-mcp"]
}
}
}
Tools
fetch
Fetch a URL — HTTP requests with curl-like flexibility.
| Param | Type | Description |
|---|---|---|
url |
string | URL, file path, or - for stdin |
method |
string | HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD) |
headers |
object | Request headers as key-value pairs |
body |
string | Request body (strips CR/LF from @files) |
bodyFile |
string | Read body from file |
dataRaw |
string | Request body literal (never reads @ as file) |
dataBinary |
string | Request body (preserves CR/LF from files) |
user |
string | Basic auth user:pass (-u) |
head |
boolean | Use HEAD method (-I) |
output |
string | Save response to file (-o) |
insecure |
boolean | Allow insecure TLS (-k) |
followRedirects |
boolean | Follow redirects (-L) |
fail |
boolean | Exit 22 on HTTP errors (-f) |
bodyOnly |
boolean | Body only, uncapped (--body) |
showAllHeaders |
boolean | Show all response headers (--headers) |
maxBytes |
number | Max response bytes (default: 20MB) |
timeout |
number | Timeout in seconds (default: 30) |
discover
Discover page structure.
| Param | Type | Description |
|---|---|---|
url |
string | URL to discover |
mode |
string | outline, locate, or count |
selector |
string | CSS selector (count mode) |
text |
string | Text to find (locate mode) |
fresh |
boolean | Force refetch |
noCache |
boolean | Skip disk cache |
limit |
number | Max results |
all |
boolean | Return all results |
budget |
number | Token budget |
extract
Extract data using CSS selectors.
| Param | Type | Description |
|---|---|---|
url |
string | URL to extract from |
selector |
string | CSS selector |
mode |
string | rows, table, attr, text, html, markdown |
row |
string | Row mapping (rows mode): field=sel, field2=sel2@attr |
attr |
string | Attribute name (attr mode) |
where |
string | Filter expression (rows mode) |
json |
boolean | Output JSON instead of TSV |
limit |
number | Max results |
all |
boolean | Return all results |
budget |
number | Token budget |
fresh |
boolean | Force refetch |
noCache |
boolean | Skip disk cache |
License
GPL-3.0
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.