recent_iocs
Pack: threatfox · Endpoint: https://gateway.pipeworx.io/threatfox/mcp
IOCs added to ThreatFox in the last N days. Useful for daily threat-intel ingestion.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
days | number | no | Lookback days (1-7, default 3) |
Example call
Arguments
{
"days": 3
}
curl
curl -X POST https://gateway.pipeworx.io/threatfox/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"recent_iocs","arguments":{"days":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('recent_iocs', {
"days": 3
});
More examples
{
"days": 7
}
Response shape
Always returns: query, status, count, results
| Field | Type | Description |
|---|---|---|
query | string | The query type sent (get_iocs) |
status | string | null | Query status (ok, no_result, or null) |
count | integer | Number of results returned |
results | array | IOCs added in the last N days |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The query type sent (get_iocs)"
},
"status": {
"type": [
"string",
"null"
],
"description": "Query status (ok, no_result, or null)"
},
"count": {
"type": "integer",
"description": "Number of results returned"
},
"results": {
"type": "array",
"description": "IOCs added in the last N days",
"items": {
"type": "object"
}
}
},
"required": [
"query",
"status",
"count",
"results"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"threatfox": {
"url": "https://gateway.pipeworx.io/threatfox/mcp"
}
}
}
See Getting Started for client-specific install steps.