search
Pack: inspire-hep · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/search for the schema, then POST the same URL with its arguments for the data.
Literature search.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Lucene/Solr query, e.g. “title higgs AND author maldacena”. |
sort | string | no | mostrecent | mostcited (default mostrecent) |
size | number | no | 1-250 (default 25) |
page | number | no | 1-based (default 1) |
fields | string | no | Comma-sep list of fields to return. |
Example call
Arguments
{
"query": "title higgs AND author maldacena"
}
curl
curl -X POST https://gateway.pipeworx.io/inspire-hep/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"title higgs AND author maldacena"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search', {
"query": "title higgs AND author maldacena"
});
More examples
{
"query": "author einstein",
"sort": "mostcited",
"size": 50,
"page": 1
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Search results from INSPIRE-HEP literature API"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the inspire-hep pack
{
"mcpServers": {
"inspire-hep": {
"url": "https://gateway.pipeworx.io/inspire-hep/mcp"
}
}
}
See Getting Started for client-specific install steps.