keywordgraph-mcp-server 1.9.1 → 1.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -11
- package/dist/config/brand.d.ts.map +1 -1
- package/dist/config/brand.js +1 -0
- package/dist/config/brand.js.map +1 -1
- package/dist/config/models.d.ts +7 -0
- package/dist/config/models.d.ts.map +1 -0
- package/dist/config/models.js +26 -0
- package/dist/config/models.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/instructions.js +4 -4
- package/dist/resources/about.d.ts.map +1 -1
- package/dist/resources/about.js +3 -2
- package/dist/resources/about.js.map +1 -1
- package/dist/schemas/index.d.ts +130 -71
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +131 -200
- package/dist/schemas/index.js.map +1 -1
- package/dist/tools/analyzeLlmResults.d.ts +1 -1
- package/dist/tools/analyzeLlmResults.d.ts.map +1 -1
- package/dist/tools/analyzeLlmResults.js +4 -1
- package/dist/tools/analyzeLlmResults.js.map +1 -1
- package/dist/tools/createKnowledgeGraph.d.ts +5 -2
- package/dist/tools/createKnowledgeGraph.d.ts.map +1 -1
- package/dist/tools/createKnowledgeGraph.js +23 -5
- package/dist/tools/createKnowledgeGraph.js.map +1 -1
- package/dist/tools/developConceptualBridges.d.ts +1 -1
- package/dist/tools/developConceptualBridges.d.ts.map +1 -1
- package/dist/tools/developConceptualBridges.js +3 -2
- package/dist/tools/developConceptualBridges.js.map +1 -1
- package/dist/tools/developLatentTopics.d.ts +1 -1
- package/dist/tools/developLatentTopics.d.ts.map +1 -1
- package/dist/tools/developLatentTopics.js +3 -2
- package/dist/tools/developLatentTopics.js.map +1 -1
- package/dist/tools/developTextTool.d.ts +1 -1
- package/dist/tools/developTextTool.d.ts.map +1 -1
- package/dist/tools/developTextTool.js +10 -6
- package/dist/tools/developTextTool.js.map +1 -1
- package/dist/tools/generateKnowledgeGraph.d.ts +5 -2
- package/dist/tools/generateKnowledgeGraph.d.ts.map +1 -1
- package/dist/tools/generateKnowledgeGraph.js +21 -7
- package/dist/tools/generateKnowledgeGraph.js.map +1 -1
- package/dist/tools/generateOntologyGraph.d.ts +3 -3
- package/dist/tools/generateOntologyGraph.d.ts.map +1 -1
- package/dist/tools/generateOntologyGraph.js +11 -20
- package/dist/tools/generateOntologyGraph.js.map +1 -1
- package/dist/tools/generateResearchIdeas.d.ts +2 -1
- package/dist/tools/generateResearchIdeas.d.ts.map +1 -1
- package/dist/tools/generateResearchIdeas.js +7 -5
- package/dist/tools/generateResearchIdeas.js.map +1 -1
- package/dist/tools/generateResearchQuestions.d.ts +2 -1
- package/dist/tools/generateResearchQuestions.d.ts.map +1 -1
- package/dist/tools/generateResearchQuestions.js +7 -5
- package/dist/tools/generateResearchQuestions.js.map +1 -1
- package/dist/tools/generateResponses.d.ts +1 -1
- package/dist/tools/generateResponses.d.ts.map +1 -1
- package/dist/tools/generateResponses.js +3 -2
- package/dist/tools/generateResponses.js.map +1 -1
- package/dist/tools/getGraphAroundTerm.d.ts +32 -0
- package/dist/tools/getGraphAroundTerm.d.ts.map +1 -0
- package/dist/tools/getGraphAroundTerm.js +69 -0
- package/dist/tools/getGraphAroundTerm.js.map +1 -0
- package/dist/tools/getNodeNeighborhood.d.ts.map +1 -1
- package/dist/tools/getNodeNeighborhood.js +4 -2
- package/dist/tools/getNodeNeighborhood.js.map +1 -1
- package/dist/tools/getTermGraph.d.ts +32 -0
- package/dist/tools/getTermGraph.d.ts.map +1 -0
- package/dist/tools/getTermGraph.js +69 -0
- package/dist/tools/getTermGraph.js.map +1 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +1 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/optimizeKnowledgeBase.d.ts +4 -2
- package/dist/tools/optimizeKnowledgeBase.d.ts.map +1 -1
- package/dist/tools/optimizeKnowledgeBase.js +18 -6
- package/dist/tools/optimizeKnowledgeBase.js.map +1 -1
- package/dist/tools/optimizeReasoning.d.ts +1 -1
- package/dist/tools/optimizeReasoning.d.ts.map +1 -1
- package/dist/tools/optimizeReasoning.js +2 -1
- package/dist/tools/optimizeReasoning.js.map +1 -1
- package/dist/tools/optimizeTextStructure.d.ts +1 -1
- package/dist/tools/optimizeTextStructure.d.ts.map +1 -1
- package/dist/tools/optimizeTextStructure.js +3 -2
- package/dist/tools/optimizeTextStructure.js.map +1 -1
- package/dist/tools/searchGraphs.d.ts.map +1 -1
- package/dist/tools/searchGraphs.js +2 -1
- package/dist/tools/searchGraphs.js.map +1 -1
- package/dist/types/index.d.ts +16 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/aiKnowledgeGraph.d.ts +45 -0
- package/dist/utils/aiKnowledgeGraph.d.ts.map +1 -0
- package/dist/utils/aiKnowledgeGraph.js +77 -0
- package/dist/utils/aiKnowledgeGraph.js.map +1 -0
- package/dist/utils/chunkByLines.d.ts +3 -0
- package/dist/utils/chunkByLines.d.ts.map +1 -0
- package/dist/utils/chunkByLines.js +19 -0
- package/dist/utils/chunkByLines.js.map +1 -0
- package/dist/utils/transformers.d.ts +7 -0
- package/dist/utils/transformers.d.ts.map +1 -1
- package/dist/utils/transformers.js +32 -0
- package/dist/utils/transformers.js.map +1 -1
- package/dist/utils/wikilinksMode.d.ts +9 -0
- package/dist/utils/wikilinksMode.d.ts.map +1 -1
- package/dist/utils/wikilinksMode.js +6 -4
- package/dist/utils/wikilinksMode.js.map +1 -1
- package/llms-full.infranodus.txt +17 -11
- package/llms-full.keywordgraph.txt +9 -6
- package/llms-full.txt +17 -11
- package/package.json +1 -1
package/llms-full.infranodus.txt
CHANGED
|
@@ -50,13 +50,15 @@ Get API key at: https://infranodus.com/api-access
|
|
|
50
50
|
|
|
51
51
|
**Entity detection** (`modifyAnalyzedText` parameter):
|
|
52
52
|
- `none` (default): Word co-occurrence graph
|
|
53
|
-
- `detectEntities`:
|
|
54
|
-
- `extractEntitiesOnly`:
|
|
53
|
+
- `detectEntities`: An algorithm marks names as entities, mixed with the words
|
|
54
|
+
- `extractEntitiesOnly`: An algorithm finds names and only they become nodes. For plain text without `[[wikilinks]]`; for text already written as `[[entity]]` statements use `wikilinksMode: wikilinksOnly`
|
|
55
|
+
- `aiKnowledgeGraph` (`generate_knowledge_graph`, `create_knowledge_graph`): An AI model writes `[[entity]]` statements about a topic or a text, and only those entities become nodes. Slower, uses AI credits; optional `instructions` and `modelToUse`
|
|
55
56
|
|
|
56
57
|
**AI models** (`modelToUse` parameter, no additional API keys needed):
|
|
57
|
-
- `
|
|
58
|
-
- `
|
|
59
|
-
- `gemini-
|
|
58
|
+
- `claude-opus-5-5` (default of the graph-generating tools), `claude-sonnet-5-5`, `claude-fable-5-1`
|
|
59
|
+
- `gpt-6.1-terra` (default of the text-writing tools), `gpt-6.1-sol`, `gpt-5.6-terra`, `gpt-5.6-sol`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-4o`, `gpt-4o-mini`
|
|
60
|
+
- `gemini-4-argon`, `gemini-3.8-flash`, `gemini-3.5-flash-lite`
|
|
61
|
+
- `grok-4.7`, `grok-4.20-0309-non-reasoning`
|
|
60
62
|
|
|
61
63
|
**Response types** (`responseType` parameter):
|
|
62
64
|
- `response`: Default analytical response
|
|
@@ -85,7 +87,8 @@ Generates a knowledge graph from text using network analysis. Shows main concept
|
|
|
85
87
|
- `includeGraph` (boolean): Include full graph structure with cluster details
|
|
86
88
|
- `includeStatements` (boolean): Include original statements
|
|
87
89
|
- `addNodesAndEdges` (boolean): Include raw nodes and edges
|
|
88
|
-
- `modifyAnalyzedText`: Entity detection mode
|
|
90
|
+
- `modifyAnalyzedText`: Entity detection mode; `aiKnowledgeGraph` builds an AI knowledge graph of a topic or text
|
|
91
|
+
- `modelToUse`, `instructions`: Only with `aiKnowledgeGraph` — the AI model, and the user's own instructions (which entities, scope); they cannot change the output format
|
|
89
92
|
|
|
90
93
|
**Returns**: statistics (modularity, diversity_stats), contentGaps, mainTopicalClusters, mainConcepts, conceptualGateways, topRelations, topInfluentialNodes, knowledgeGraphByCluster.
|
|
91
94
|
|
|
@@ -124,23 +127,24 @@ Identifies content gaps — missing connections between topical clusters that re
|
|
|
124
127
|
|
|
125
128
|
**Parameters**: `text` / `url` / `graphName`
|
|
126
129
|
|
|
127
|
-
**Returns**: `contentGaps` array. Format: "Gap N: ClusterA (keywords) -> ClusterB (keywords)"
|
|
130
|
+
**Returns**: `contentGaps` array. Format: "Gap N: ClusterA (keywords) -> ClusterB (keywords)". Also `insightClusters`: the 1–3 clusters the AI bridges by default, one line per gap depth, each cluster tagged `gap`, `bridge` or `influence`. Format: "Insight clusters N (state): [gap] ClusterA (keywords) + [bridge] ClusterB (keywords)". Every tool that returns `contentGaps` returns `insightClusters` beside it.
|
|
128
131
|
|
|
129
132
|
---
|
|
130
133
|
|
|
131
134
|
### generate_research_questions
|
|
132
135
|
|
|
133
|
-
Generates research questions that bridge
|
|
136
|
+
Generates research questions that bridge the topical clusters of a text. By default the questions bridge the insight clusters.
|
|
134
137
|
|
|
135
138
|
**Use for**: Generating prompts for LLM workflows, research ideation, bridging knowledge gaps.
|
|
136
139
|
|
|
137
140
|
**Parameters**:
|
|
138
141
|
- `text` / `url` / `graphName`: Input source
|
|
142
|
+
- `optimize`: which clusters the questions are generated from. `optimize` (default) uses the insight clusters, picked from the structure of the graph to move it toward a balanced shape; `gap` the widest content gap; `develop` all the main topics; `latent` the under-developed ones
|
|
139
143
|
- `useSeveralGaps` (boolean): Generate questions for multiple gaps (more diverse)
|
|
140
|
-
- `gapDepth` (number): Explore less prominent gaps (0 =
|
|
144
|
+
- `gapDepth` (number): Explore less prominent gaps or insight clusters (0 = the first)
|
|
141
145
|
- `modelToUse` (string): AI model to use
|
|
142
146
|
|
|
143
|
-
**Returns**: `questions` array of research question strings
|
|
147
|
+
**Returns**: `questions` array of research question strings, and `insightClusters`.
|
|
144
148
|
|
|
145
149
|
---
|
|
146
150
|
|
|
@@ -150,12 +154,14 @@ Generates ideas that develop the text further based on content gaps. By default
|
|
|
150
154
|
|
|
151
155
|
**Parameters**:
|
|
152
156
|
- `text` / `url` / `graphName`: Input source
|
|
157
|
+
- `optimize`: which clusters the ideas are generated from. `optimize` (default) uses the insight clusters, picked from the structure of the graph to move it toward a balanced shape; `gap` the widest content gap; `develop` all the main topics; `latent` the under-developed ones
|
|
153
158
|
- `useSeveralGaps` (boolean): Ideas for multiple gaps
|
|
159
|
+
- `gapDepth` (number): Explore less prominent gaps or insight clusters (0 = the first)
|
|
154
160
|
- `shouldTranscend` (boolean): Connect to broader discourse
|
|
155
161
|
- `responseType`: 'response' (analytical) or 'idea' (business-oriented)
|
|
156
162
|
- `modelToUse` (string): AI model to use
|
|
157
163
|
|
|
158
|
-
**Returns**: `responses` array of idea strings
|
|
164
|
+
**Returns**: `responses` array of idea strings (`ideas` with `responseType: 'idea'`), and `insightClusters`.
|
|
159
165
|
|
|
160
166
|
---
|
|
161
167
|
|
|
@@ -50,13 +50,15 @@ Get API key at: https://keywordgraph.com/api-access
|
|
|
50
50
|
|
|
51
51
|
**Entity detection** (`modifyAnalyzedText` parameter):
|
|
52
52
|
- `none` (default): Word co-occurrence graph
|
|
53
|
-
- `detectEntities`:
|
|
54
|
-
- `extractEntitiesOnly`:
|
|
53
|
+
- `detectEntities`: An algorithm marks names as entities, mixed with the words
|
|
54
|
+
- `extractEntitiesOnly`: An algorithm finds names and only they become nodes. For plain text without `[[wikilinks]]`; for text already written as `[[entity]]` statements use `wikilinksMode: wikilinksOnly`
|
|
55
|
+
- `aiKnowledgeGraph` (`generate_knowledge_graph`, `create_knowledge_graph`): An AI model writes `[[entity]]` statements about a topic or a text, and only those entities become nodes. Slower, uses AI credits; optional `instructions` and `modelToUse`
|
|
55
56
|
|
|
56
57
|
**AI models** (`modelToUse` parameter, no additional API keys needed):
|
|
57
|
-
- `
|
|
58
|
-
- `
|
|
59
|
-
- `gemini-
|
|
58
|
+
- `claude-opus-5-5` (default of the graph-generating tools), `claude-sonnet-5-5`, `claude-fable-5-1`
|
|
59
|
+
- `gpt-6.1-terra` (default of the text-writing tools), `gpt-6.1-sol`, `gpt-5.6-terra`, `gpt-5.6-sol`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-4o`, `gpt-4o-mini`
|
|
60
|
+
- `gemini-4-argon`, `gemini-3.8-flash`, `gemini-3.5-flash-lite`
|
|
61
|
+
- `grok-4.7`, `grok-4.20-0309-non-reasoning`
|
|
60
62
|
|
|
61
63
|
**Response types** (`responseType` parameter):
|
|
62
64
|
- `response`: Default analytical response
|
|
@@ -85,7 +87,8 @@ Generates a knowledge graph from text using network analysis. Shows main concept
|
|
|
85
87
|
- `includeGraph` (boolean): Include full graph structure with cluster details
|
|
86
88
|
- `includeStatements` (boolean): Include original statements
|
|
87
89
|
- `addNodesAndEdges` (boolean): Include raw nodes and edges
|
|
88
|
-
- `modifyAnalyzedText`: Entity detection mode
|
|
90
|
+
- `modifyAnalyzedText`: Entity detection mode; `aiKnowledgeGraph` builds an AI knowledge graph of a topic or text
|
|
91
|
+
- `modelToUse`, `instructions`: Only with `aiKnowledgeGraph` — the AI model, and the user's own instructions (which entities, scope); they cannot change the output format
|
|
89
92
|
|
|
90
93
|
**Returns**: statistics (modularity, diversity_stats), contentGaps, mainTopicalClusters, mainConcepts, conceptualGateways, topRelations, topInfluentialNodes, knowledgeGraphByCluster.
|
|
91
94
|
|
package/llms-full.txt
CHANGED
|
@@ -50,13 +50,15 @@ Get API key at: https://infranodus.com/api-access
|
|
|
50
50
|
|
|
51
51
|
**Entity detection** (`modifyAnalyzedText` parameter):
|
|
52
52
|
- `none` (default): Word co-occurrence graph
|
|
53
|
-
- `detectEntities`:
|
|
54
|
-
- `extractEntitiesOnly`:
|
|
53
|
+
- `detectEntities`: An algorithm marks names as entities, mixed with the words
|
|
54
|
+
- `extractEntitiesOnly`: An algorithm finds names and only they become nodes. For plain text without `[[wikilinks]]`; for text already written as `[[entity]]` statements use `wikilinksMode: wikilinksOnly`
|
|
55
|
+
- `aiKnowledgeGraph` (`generate_knowledge_graph`, `create_knowledge_graph`): An AI model writes `[[entity]]` statements about a topic or a text, and only those entities become nodes. Slower, uses AI credits; optional `instructions` and `modelToUse`
|
|
55
56
|
|
|
56
57
|
**AI models** (`modelToUse` parameter, no additional API keys needed):
|
|
57
|
-
- `
|
|
58
|
-
- `
|
|
59
|
-
- `gemini-
|
|
58
|
+
- `claude-opus-5-5` (default of the graph-generating tools), `claude-sonnet-5-5`, `claude-fable-5-1`
|
|
59
|
+
- `gpt-6.1-terra` (default of the text-writing tools), `gpt-6.1-sol`, `gpt-5.6-terra`, `gpt-5.6-sol`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-4o`, `gpt-4o-mini`
|
|
60
|
+
- `gemini-4-argon`, `gemini-3.8-flash`, `gemini-3.5-flash-lite`
|
|
61
|
+
- `grok-4.7`, `grok-4.20-0309-non-reasoning`
|
|
60
62
|
|
|
61
63
|
**Response types** (`responseType` parameter):
|
|
62
64
|
- `response`: Default analytical response
|
|
@@ -85,7 +87,8 @@ Generates a knowledge graph from text using network analysis. Shows main concept
|
|
|
85
87
|
- `includeGraph` (boolean): Include full graph structure with cluster details
|
|
86
88
|
- `includeStatements` (boolean): Include original statements
|
|
87
89
|
- `addNodesAndEdges` (boolean): Include raw nodes and edges
|
|
88
|
-
- `modifyAnalyzedText`: Entity detection mode
|
|
90
|
+
- `modifyAnalyzedText`: Entity detection mode; `aiKnowledgeGraph` builds an AI knowledge graph of a topic or text
|
|
91
|
+
- `modelToUse`, `instructions`: Only with `aiKnowledgeGraph` — the AI model, and the user's own instructions (which entities, scope); they cannot change the output format
|
|
89
92
|
|
|
90
93
|
**Returns**: statistics (modularity, diversity_stats), contentGaps, mainTopicalClusters, mainConcepts, conceptualGateways, topRelations, topInfluentialNodes, knowledgeGraphByCluster.
|
|
91
94
|
|
|
@@ -124,23 +127,24 @@ Identifies content gaps — missing connections between topical clusters that re
|
|
|
124
127
|
|
|
125
128
|
**Parameters**: `text` / `url` / `graphName`
|
|
126
129
|
|
|
127
|
-
**Returns**: `contentGaps` array. Format: "Gap N: ClusterA (keywords) -> ClusterB (keywords)"
|
|
130
|
+
**Returns**: `contentGaps` array. Format: "Gap N: ClusterA (keywords) -> ClusterB (keywords)". Also `insightClusters`: the 1–3 clusters the AI bridges by default, one line per gap depth, each cluster tagged `gap`, `bridge` or `influence`. Format: "Insight clusters N (state): [gap] ClusterA (keywords) + [bridge] ClusterB (keywords)". Every tool that returns `contentGaps` returns `insightClusters` beside it.
|
|
128
131
|
|
|
129
132
|
---
|
|
130
133
|
|
|
131
134
|
### generate_research_questions
|
|
132
135
|
|
|
133
|
-
Generates research questions that bridge
|
|
136
|
+
Generates research questions that bridge the topical clusters of a text. By default the questions bridge the insight clusters.
|
|
134
137
|
|
|
135
138
|
**Use for**: Generating prompts for LLM workflows, research ideation, bridging knowledge gaps.
|
|
136
139
|
|
|
137
140
|
**Parameters**:
|
|
138
141
|
- `text` / `url` / `graphName`: Input source
|
|
142
|
+
- `optimize`: which clusters the questions are generated from. `optimize` (default) uses the insight clusters, picked from the structure of the graph to move it toward a balanced shape; `gap` the widest content gap; `develop` all the main topics; `latent` the under-developed ones
|
|
139
143
|
- `useSeveralGaps` (boolean): Generate questions for multiple gaps (more diverse)
|
|
140
|
-
- `gapDepth` (number): Explore less prominent gaps (0 =
|
|
144
|
+
- `gapDepth` (number): Explore less prominent gaps or insight clusters (0 = the first)
|
|
141
145
|
- `modelToUse` (string): AI model to use
|
|
142
146
|
|
|
143
|
-
**Returns**: `questions` array of research question strings
|
|
147
|
+
**Returns**: `questions` array of research question strings, and `insightClusters`.
|
|
144
148
|
|
|
145
149
|
---
|
|
146
150
|
|
|
@@ -150,12 +154,14 @@ Generates ideas that develop the text further based on content gaps. By default
|
|
|
150
154
|
|
|
151
155
|
**Parameters**:
|
|
152
156
|
- `text` / `url` / `graphName`: Input source
|
|
157
|
+
- `optimize`: which clusters the ideas are generated from. `optimize` (default) uses the insight clusters, picked from the structure of the graph to move it toward a balanced shape; `gap` the widest content gap; `develop` all the main topics; `latent` the under-developed ones
|
|
153
158
|
- `useSeveralGaps` (boolean): Ideas for multiple gaps
|
|
159
|
+
- `gapDepth` (number): Explore less prominent gaps or insight clusters (0 = the first)
|
|
154
160
|
- `shouldTranscend` (boolean): Connect to broader discourse
|
|
155
161
|
- `responseType`: 'response' (analytical) or 'idea' (business-oriented)
|
|
156
162
|
- `modelToUse` (string): AI model to use
|
|
157
163
|
|
|
158
|
-
**Returns**: `responses` array of idea strings
|
|
164
|
+
**Returns**: `responses` array of idea strings (`ideas` with `responseType: 'idea'`), and `insightClusters`.
|
|
159
165
|
|
|
160
166
|
---
|
|
161
167
|
|
package/package.json
CHANGED