recent_samples
Pack: malwarebazaar · Endpoint: https://gateway.pipeworx.io/malwarebazaar/mcp
Most recent samples in MalwareBazaar. Use the selector to pick a chunk size.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
selector | string | no | ”time” (1h window) or “100” (last 100 samples). Default “100”. |
Example call
Arguments
{
"selector": "100"
}
curl
curl -X POST https://gateway.pipeworx.io/malwarebazaar/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"recent_samples","arguments":{"selector":"100"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('recent_samples', {
"selector": "100"
});
More examples
{
"selector": "time"
}
Response shape
Always returns: query, status, count, samples
| Field | Type | Description |
|---|---|---|
query | string | Query type used (get_recent) |
status | string | null | Query status (ok, no_results, or null) |
count | number | Number of recent samples returned |
samples | array | Array of most recent samples |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Query type used (get_recent)"
},
"status": {
"type": [
"string",
"null"
],
"description": "Query status (ok, no_results, or null)",
"enum": [
"ok",
"no_results",
null
]
},
"count": {
"type": "number",
"description": "Number of recent samples returned"
},
"samples": {
"type": "array",
"description": "Array of most recent samples",
"items": {
"type": "object"
}
}
},
"required": [
"query",
"status",
"count",
"samples"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"malwarebazaar": {
"url": "https://gateway.pipeworx.io/malwarebazaar/mcp"
}
}
}
See Getting Started for client-specific install steps.