MCP Server (semantica/mcp_server.py): - Full stdio-based MCP server compatible with Claude Desktop, Windsurf, Cline, Continue, VS Code, Roo Code, and any MCP-aware tool - 12 tools: extract_entities, extract_relations, record_decision, query_decisions, find_precedents, get_causal_chain, add_entity, add_relationship, run_reasoning, get_graph_analytics, export_graph, get_graph_summary - 3 resources: semantica://graph/summary, semantica://decisions/list, semantica://schema/info - Lazy graph session with optional SEMANTICA_KG_PATH env var - JSON-RPC 2.0 over stdin/stdout; run with: python -m semantica.mcp_server New plugin bundles (each: plugin.json + marketplace.json + README.md): - plugins/.windsurf-plugin/ — Windsurf MCP config + 17 skills + 3 agents - plugins/.cline-plugin/ — Cline MCP config + 17 skills + 3 agents - plugins/.continue-plugin/ — Continue MCP config + 17 skills + 3 agents - plugins/.vscode-plugin/ — VS Code MCP config + 17 skills + 3 agents Updated plugins/.claude-plugin/README.md: - Platform support table expanded to 9 tools - Full MCP server section: per-tool config snippets for Claude Desktop, Windsurf, Cline, Continue, VS Code; tool/resource reference tables; environment variables Updated README.md: - Hero line updated to mention MCP server - Visual grid: Windsurf/VS Code/Cline/Continue → 'MCP server + plugin'; Claude Desktop → 'MCP server' - Plugin Bundles section: expanded table listing all 7 bundles with dirs - New MCP Server section with quick-start snippet and tool/resource list - Detailed integrations table: corrected connection types and config paths Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6.9 KiB
Semantica Plugins (Community Guide)
Semantica ships a shared plugin bundle under plugins/ with skills, agents, and hooks for knowledge graphs, context graphs, decision intelligence, reasoning, explainability, provenance, ontology, and export workflows.
This README covers installation across every supported platform.
Supported Platforms
| Platform | Method | Config file |
|---|---|---|
| Claude Code | Native plugin bundle | plugins/.claude-plugin/plugin.json |
| Cursor | Native plugin bundle | plugins/.cursor-plugin/plugin.json |
| Codex CLI | Native plugin bundle | plugins/.codex-plugin/plugin.json |
| Windsurf | MCP server + plugin bundle | plugins/.windsurf-plugin/plugin.json |
| Cline (VS Code) | MCP server + plugin bundle | plugins/.cline-plugin/plugin.json |
| Continue | MCP server | plugins/.continue-plugin/plugin.json |
| VS Code | MCP server | plugins/.vscode-plugin/plugin.json |
| Claude Desktop | MCP server | — (see MCP section below) |
| Any MCP client | MCP server | python -m semantica.mcp_server |
Prerequisites
- Clone the repository:
git clone https://github.com/Hawksight-AI/semantica.git
cd semantica
- Ensure the plugin bundle exists at:
plugins/
skills/ ← 17 domain skills
agents/ ← 3 specialized agents
hooks/ ← hooks.json
.claude-plugin/ ← Claude Code manifest
.cursor-plugin/ ← Cursor manifest
.codex-plugin/ ← Codex CLI manifest
.windsurf-plugin/← Windsurf manifest + MCP config
.cline-plugin/ ← Cline manifest + MCP config
.continue-plugin/← Continue manifest + MCP config
.vscode-plugin/ ← VS Code manifest + MCP config
Plugin Contents
skills/: 17 domain skills (causal,decision,explain,reason,temporal, etc.)agents/: specialized agents (decision-advisor,explainability,kg-assistant)hooks/hooks.json: plugin hook configuration.claude-plugin/plugin.json: Claude manifest.cursor-plugin/plugin.json: Cursor manifest.codex-plugin/plugin.json: Codex manifest*/marketplace.json: local marketplace definitions
Install and Use in Claude Code
Local install (fastest)
From the repository root:
claude --plugin-dir ./plugins
If your Claude setup uses plugin commands in-session, use:
/plugin install ./plugins
Install from a GitHub marketplace
Add a marketplace hosted in git:
/plugin marketplace add <owner>/semantica
Install Semantica from that marketplace:
/plugin install semantica@<marketplace-name>
Verify in Claude
Run one of these in chat:
/semantica:decision list
/semantica:explain decision <decision_id>
If the plugin is installed correctly, Claude should recognize the /semantica:* skills.
Install and Use in Codex
- Ensure your repo marketplace exists at
.agents/plugins/marketplace.json. - Point the plugin entry
source.pathto./plugins(or your chosen plugin directory). - Restart Codex and install from the marketplace UI.
Codex manifest used by this bundle:
.codex-plugin/plugin.json
Verify in Codex
After install, run a Semantica skill command in chat, for example:
/semantica:causal chain --subject <decision_id> --depth 3
Install and Use in Cursor
Cursor reads plugin metadata from:
.cursor-plugin/plugin.json.cursor-plugin/marketplace.json
If you maintain a team/community plugin repo, publish this plugins/ directory and refresh/reinstall in Cursor Marketplace to pick up updates.
Verify in Cursor
Try one of these commands:
/semantica:reason deductive "IF Person(x) THEN Mortal(x)"
/semantica:visualize topology
First Commands to Try
After installing on any platform, these are good smoke tests:
/semantica:decision record <category> "<scenario>" "<reasoning>" <outcome> <confidence>/semantica:decision list/semantica:causal chain --subject <decision_id> --depth 3/semantica:explain decision <decision_id>/semantica:validate graph
MCP Server (Windsurf · Cline · Continue · VS Code · Claude Desktop · Any tool)
Semantica includes a full MCP server (semantica/mcp_server.py) that exposes 12 tools and 3 resources over stdio — compatible with any MCP-aware tool.
Start the server
python -m semantica.mcp_server
Configure in your tool
Claude Desktop — ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"semantica": {
"command": "python",
"args": ["-m", "semantica.mcp_server"]
}
}
}
Windsurf — ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"semantica": {
"command": "python",
"args": ["-m", "semantica.mcp_server"]
}
}
}
Cline — Cline MCP settings panel → Add server:
{
"semantica": {
"command": "python",
"args": ["-m", "semantica.mcp_server"]
}
}
Continue — ~/.continue/config.json:
{
"mcpServers": [
{
"name": "semantica",
"command": "python",
"args": ["-m", "semantica.mcp_server"]
}
]
}
VS Code — settings.json:
{
"mcp.servers": {
"semantica": {
"command": "python",
"args": ["-m", "semantica.mcp_server"]
}
}
}
Available MCP tools
| Tool | Description |
|---|---|
extract_entities |
Named entity recognition from text |
extract_relations |
Relation and triplet extraction from text |
record_decision |
Record a decision with full context and metadata |
query_decisions |
Query recorded decisions by natural language or category |
find_precedents |
Find past decisions similar to a scenario |
get_causal_chain |
Trace upstream/downstream causal chain from a decision |
add_entity |
Add a node/entity to the knowledge graph |
add_relationship |
Add a directed edge between two entities |
run_reasoning |
Run IF/THEN rules over facts to derive new facts |
get_graph_analytics |
PageRank centrality and community detection |
export_graph |
Export graph as Turtle, JSON-LD, N-Triples, or JSON |
get_graph_summary |
Node count, decision count, graph status |
Available MCP resources
| URI | Description |
|---|---|
semantica://graph/summary |
High-level graph statistics |
semantica://decisions/list |
All recorded decisions |
semantica://schema/info |
Server info and capability list |
Environment variables
| Variable | Description |
|---|---|
SEMANTICA_KG_PATH |
Path to a persisted graph to load on start |
SEMANTICA_LOG_LEVEL |
Log level: DEBUG, INFO, WARNING (default: WARNING) |
Community Notes
- Keep plugin name/version/keywords updated in each manifest before publishing.
- Keep skill frontmatter consistent (
name+description) for reliable discovery. - For open-source sharing, include this folder as-is so skills, agents, and hooks remain bundled.