# semantic-code MCP server

> Indexes codebases to enable semantic and keyword-based search for AI agents using tree-sitter and ONNX-based embeddings.

- Repository: https://github.com/vrppaul/semantic-code-mcp
- Page: https://hostedmcp.org/servers/vrppaul/semantic-code-mcp
- Transport: —
- Stars: 4
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SEMANTIC_CODE_MCP_DEBUG` | no | no |  |
| `SEMANTIC_CODE_MCP_LOCAL_INDEX` | no | no |  |

## Tools (9)

- `query`
- `project_path`
- `limit`
- `chunk_kinds`
- `languages`
- `path_glob`
- `exclude_glob`
- `include_debug`
- `force`

## FAQ

### What programming languages are supported?

The server currently supports Python, Rust, and Markdown, with more languages planned for the future.

### How does the server handle file changes?

It uses incremental indexing and system watchers like inotify on Linux, FSEvents on macOS, or ReadDirectoryChangesW on Windows to only re-index changed files.
