A library for indexing code repositories using Tree-sitter Stack Graphs, designed to be used in MCP servers and other tools.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"tsg_indexer": {
"command": "cargo",
"args": [
"run",
"--",
"tsg_indexer"
]
}
}
}
Run in terminal:
claude mcp add tsg_indexer cargo run -- tsg_indexer
Add to .cursor/mcp.json:
{
"mcpServers": {
"tsg_indexer": {
"command": "cargo",
"args": [
"run",
"--",
"tsg_indexer"
]
}
}
}