| Crates.io | oak-mcp |
| lib.rs | oak-mcp |
| version | 0.0.1 |
| created_at | 2026-01-23 04:11:35.4649+00 |
| updated_at | 2026-01-23 04:11:35.4649+00 |
| description | Oak MCP server with support for compact code structures and fuzzy semantic search. |
| homepage | https://github.com/ygg-lang/oaks |
| repository | https://github.com/ygg-lang/oaks |
| max_upload_size | |
| id | 2063371 |
| size | 74,492 |
Oak MCP is a Model Context Protocol (MCP) server implementation for the Oak framework, enabling AI models to interact directly with Oak's deep semantic analysis.
Oak MCP bridges the gap between AI agents (like Claude 3.5/4) and your source code. Unlike traditional LSP-based tools that return verbose JSON, Oak MCP is optimized for AI context windows, providing structured "code skeletons" and intelligent semantic search capabilities.
RedTree architecture to minimize token usage.oak-semantic-search for natural language intent-based code retrieval.fastembed for privacy-first, offline vector indexing.Add oak-mcp to your Cargo.toml:
[dependencies]
oak-mcp = "0.0.1"
use oak_mcp::OakMcpService;
use oak_rust::RustService; // Example language service
#[tokio::main]
async fn main() {
let service = RustService::new();
let server = service.into_mcp_server()
.with_searcher(semantic_searcher);
server.run().await.unwrap();
}
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"oak": {
"command": "path/to/your/oak-mcp-binary",
"args": []
}
}
}
Instead of sending thousands of lines of code, Oak MCP sends a hierarchical summary of symbols and their relationships, allowing the AI to understand the big picture instantly.
"How does this project handle error retries?" — Oak MCP uses vector embeddings to find relevant code chunks even if the word "retry" isn't explicitly in the function name.
Contributions are welcome! Please feel free to submit issues or pull requests.
Oak MCP - Deep code understanding for AI agents 🚀