molaco/rust-code-mcp
If you are the rightful owner of rust-code-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
An MCP server for semantic code search in Rust codebases, combining BM25 full-text search with vector embeddings for hybrid search, plus tree-sitter based code analysis.
Tools
Functions exposed to the LLM to take actions
search
Keyword search using hybrid BM25 + vectors
get_similar_code
Find semantically similar code snippets
find_definition
Locate where a symbol is defined
find_references
Find all usages of a symbol
get_dependencies
List imports for a file
get_call_graph
Show function call relationships
analyze_complexity
Calculate code complexity metrics
read_file_content
Read file contents
index_codebase
Manually trigger indexing
health_check
Check system status
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client