Commit 0955f8e
Add resolve_entities, crawl, dql, and dql_ontology tools
Ports four capabilities from diffbot-skills to the MCP server:
- resolve_entities: NLP entity recognition and Knowledge Graph resolution,
compacted to name, types, confidence, salience, sentiment, and id
- crawl: the Crawlbot job lifecycle (start, status, results, list, delete),
since a crawl runs asynchronously and cannot block a single tool call
- dql: Knowledge Graph queries, read through the csv export with a per-type
column spec because one entity record is ~75kb of json, plus a separate
facet path and hits_only for probing a query's selectivity
- dql_ontology: types, fields, taxonomies, and enums, cached in process
The dql description carries the query syntax and a field cheatsheet for the
four main entity types, every path verified against the live graph, because
field names rarely match the name a caller would guess.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent c32d356 commit 0955f8e
2 files changed
Lines changed: 397 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
18 | 30 | | |
19 | 31 | | |
20 | 32 | | |
| |||
0 commit comments