An advanced MCP server that equips your AI agent with semantic code search, AST-aware codebase indexing, and live dependency graph analysis.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install socraticode-mcp
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install socraticode-mcp using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
SocratiCode MCP is a high-performance Model Context Protocol (MCP) server designed to bring semantic code search and deep codebase intelligence directly to your AI workflow. By leveraging SocratiCode, developers can empower their AI agents to dynamically index local codebases, analyze complex dependency graphs, and resolve code navigation queries in real-time. This skill elevates your agent environment by enabling AST-aware chunking at class and function boundaries, ensuring search results retain precise syntax context rather than arbitrary text splits.
As part of the ecosystem of Openclaw Skills, this server integrates smoothly with your existing agent configurations. Using a combination of semantic and keyword search via Reciprocal Rank Fusion (RRF) and a backend Qdrant vector database, it transforms raw directories into fully searchable, queryable, and visualizable architectures, providing the exact context your agent needs to write better code.
First, install the mcporter command-line tool globally:
npm install -g mcporter
Create your MCP config file at ~/.openclaw/workspace/config/mcporter.json to register SocratiCode:
{
"mcpServers": {
"socraticode": {
"command": "npx",
"args": ["-y", "socraticode"]
}
}
}
Verify your server is registered by running mcporter list.
SocratiCode relies on Qdrant. Start the Qdrant container with Docker:
docker run -d --name socraticode-qdrant \
-p 16333:6333 -p 16334:6334 \
qdrant/qdrant:v1.17.0
To index files inside a specific repository instead of the global configuration directory, create a mcporter.json in your project root:
cd /path/to/your-project
echo '{
"mcpServers": {
"socraticode": {
"command": "npx",
"args": ["-y", "socraticode"]
}
}
}' > mcporter.json
Now use the --config parameter to run index, status check, or search commands:
mcporter --config mcporter.json call socraticode.codebase_index
The SocratiCode MCP server uses a local vector storage architecture coupled with configuration schemas to structure its code intelligence:
| Component | Type / Location | Description |
|---|---|---|
| Vector Database | Qdrant Docker (Ports 16333/16334) | Stores multi-dimensional vectors representing code chunks for similarity search. |
| AST Chunking | AST Parser (18+ Languages) | Breaks source files down by logical syntactic blocks (classes, functions, methods) rather than static line length. |
| Configuration | mcporter.json |
JSON configuration mapped either globally (~/.openclaw/workspace/config/) or per-project. |
| Dependency Graph | Mermaid Diagrams / Cycle Detection | Built dynamically via import tracking commands. |
codebase_watch) that dynamically re-indexes code on saves to keep the model context fresh.codebase_graph_visualize) and detecting circular dependencies (codebase_graph_circular).brew install ollama) or high-performance remote APIs like OpenAI.Loading
A dynamic and robust skill for AI agents to operate Alibaba Cloud DataWorks using dynamic API discovery and official SDKs across multiple languages.

Fetch real-time, API-key-free cryptocurrency and market news directly from leading industry sources for prompt trading and market analysis.

An open-source, self-hosted PDF parser that converts scanned or digital PDFs into clean Markdown, structured JSON, or rich HTML with OCR and table extraction.

An offline-first tool powered by OpenDataLoader PDF that converts digital and scanned PDFs into clean Markdown, JSON, and layout-preserving HTML.

An AI agent skill designed to programmatically control and orchestrate Alibaba Cloud DataWorks resources via dynamic runtime API discovery and official SDKs.

An AI-powered tipping and donation skill that intelligently recognizes user gifting intent, validates the transaction amount, and handles secure payment handoffs.








































