HARSHNEXX/TokenMS
Local MCP service that indexes code via AST and serves token-budgeted context to AI agents.
What it solves
Without it, agents spend a large part of their token budget on file discovery and repeated exploratory reads instead of actual work.
- Multi-language AST parsing
- Hybrid multi-modal retrieval
- Token-budgeted context assembly
Works with
- claude-desktop
- cursor
- vscode
- cli
Install
pip install -e . Copy-ready config
{
"mcpServers": {
"tms": {
"command": "python",
"args": [
"-m",
"tms.app",
"serve"
],
"cwd": "${workspaceFolder}"
}
}
} {
"mcpServers": {
"tms": {
"command": "python",
"args": [
"-m",
"tms.app",
"serve"
],
"cwd": "/path/to/your/project"
}
}
} Security flags
- Needs API key: Not stated
- Runs locally: Yes
- Network access: Yes
- Needs root: No
Maintenance
| Last commit | 2026-12-04(1d) |
|---|---|
| Stars | 11 |
| Open issues | 0 |
| License | — |
| Archived | No |
| Data fetched | 2026-12-06 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
Local-First Code Intelligence and Context Management for AI Coding Agents