search_hash
Pack: threatfox · Endpoint: https://gateway.pipeworx.io/threatfox/mcp
IOCs associated with a file hash (md5 / sha1 / sha256).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
hash | string | yes | md5 / sha1 / sha256 |
Example call
Arguments
{
"hash": "d41d8cd98f00b204e9800998ecf8427e"
}
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":"search_hash","arguments":{"hash":"d41d8cd98f00b204e9800998ecf8427e"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_hash', {
"hash": "d41d8cd98f00b204e9800998ecf8427e"
});
More examples
{
"hash": "356a192b7913b04c54574d18c28d46e6395428ab"
}
Response shape
Always returns: query, status, count, results
| Field | Type | Description |
|---|---|---|
query | string | The query type sent (search_hash) |
status | string | null | Query status (ok, no_result, or null) |
count | integer | Number of results returned |
results | array | IOCs associated with the file hash |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The query type sent (search_hash)"
},
"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 associated with the file hash",
"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.