fetch-jsonpath-mcp
v1.2.0An MCP server for fetching and extracting JSON data using JSONPath
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fetch-json
Extract JSON content from a URL using JSONPath with extended features. Supports extensions like len, keys, filtering, arithmetic operations, and more. If 'pattern' is omitted or empty, the entire JSON document is returned. Supports different HTTP methods (default: GET).
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to get raw JSON from |
data | object | string | null | Request body data for POST/PUT/PATCH requests. Can be a JSON object or string. |
headers | object | Additional HTTP headers to include in the request |
method | string | HTTP method to use (GET, POST, PUT, DELETE, PATCH, etc.). Default is GET. |
pattern | string | Extended JSONPath pattern supporting: Basic: 'foo[*].baz', 'bar.items[*]'; Extensions: '$.data.`len`', '$.users.`keys`', '$.field.`str()`'; Filtering: '$.items[?(@.price > 10)]', '$.users[?name = "Joh… |
fetch-text
Fetch text content from a URL using various HTTP methods. Defaults to converting HTML to Markdown format.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to get text content from |
data | object | string | null | Request body data for POST/PUT/PATCH requests. Can be a JSON object or string. |
headers | object | Additional HTTP headers to include in the request |
method | string | HTTP method to use (GET, POST, PUT, DELETE, PATCH, etc.). Default is GET. |
output_format | string | Output format: 'markdown' (default), 'clean_text', or 'raw_html'. |
batch-fetch-json
Batch extract JSON content from multiple URLs with different extended JSONPath patterns. Supports all JSONPath extensions and optimizes by fetching each unique request only once. Executes requests concurrently for better performance. Supports different HTTP methods.
| Parameter | Type | Description |
|---|---|---|
requests * | array | Array of request objects |
batch-fetch-text
Batch fetch raw text content from multiple URLs using various HTTP methods. Executes requests concurrently for better performance.
| Parameter | Type | Description |
|---|---|---|
requests * | array | Array of URLs (strings) or request objects |