overpassql-mcp
v1.0.0OverpassQL MCP: 20 real tools to read, check, lint, scaffold, build and run OverpassQL code.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
detect_project
Find OverpassQL files, project markers and the toolchain layout in a directory.
| Parameter | Type | Description |
|---|---|---|
maxDepth | integer | |
path | string |
read_source
Read a OverpassQL source file, optionally a line range.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
cwd | string | |
endLine | integer | |
startLine | integer |
write_source
Write a OverpassQL source file. Refuses to overwrite unless overwrite is true.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
path * | string | |
createDirs | boolean | |
cwd | string | |
overwrite | boolean |
syntax_check
Check OverpassQL structure and, when configured, run the real parser without executing the program.
| Parameter | Type | Description |
|---|---|---|
content | string | |
cwd | string | |
path | string |
format_source
Trim trailing whitespace, normalize line endings and ensure a final newline in OverpassQL code.
| Parameter | Type | Description |
|---|---|---|
content | string | |
cwd | string | |
expandTabs | boolean | |
indentWidth | integer | |
path | string | |
write | boolean |
lint_source
Check OverpassQL code for trailing whitespace, tabs, long lines, missing final newline and unbalanced structure.
| Parameter | Type | Description |
|---|---|---|
content | string | |
cwd | string | |
maxLineLength | integer | |
path | string |
extract_symbols
List functions, classes, types and other OverpassQL definitions with line numbers.
| Parameter | Type | Description |
|---|---|---|
content | string | |
cwd | string | |
path | string |
list_imports
List imports, includes and dependencies in a OverpassQL source file.
| Parameter | Type | Description |
|---|---|---|
content | string | |
cwd | string | |
path | string |
list_todos
Find TODO, FIXME, HACK and XXX comments in OverpassQL code.
| Parameter | Type | Description |
|---|---|---|
content | string | |
cwd | string | |
path | string |
find_references
Find every mention of a symbol in one OverpassQL source file.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
symbol * | string | |
cwd | string |
rename_symbol
Rename one symbol in a OverpassQL file. Defaults to a dry run.
| Parameter | Type | Description |
|---|---|---|
newName * | string | |
oldName * | string | |
path * | string | |
cwd | string | |
dryRun | boolean |
insert_snippet
Insert a real OverpassQL starter snippet into a file. Defaults to a dry run.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
snippet * | string | |
cwd | string | |
dryRun | boolean | |
line | integer |
comment_lines
Comment a line range in OverpassQL code using the language comment marker.
| Parameter | Type | Description |
|---|---|---|
content | string | |
cwd | string | |
endLine | integer | |
path | string | |
startLine | integer | |
write | boolean |
uncomment_lines
Remove the OverpassQL comment marker from a line range.
| Parameter | Type | Description |
|---|---|---|
content | string | |
cwd | string | |
endLine | integer | |
path | string | |
startLine | integer | |
write | boolean |
scaffold_project
Create a small runnable OverpassQL project with a starter file and test directory.
| Parameter | Type | Description |
|---|---|---|
overwrite | boolean | |
path | string | |
projectName | string |
run_source
Run a OverpassQL file with the installed interpreter or compiler.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
cwd | string | |
timeoutMs | integer |
run_tests
Run the configured OverpassQL test command in a project directory.
| Parameter | Type | Description |
|---|---|---|
cwd | string | |
timeoutMs | integer |
build_project
Build a OverpassQL project with the configured compiler command.
| Parameter | Type | Description |
|---|---|---|
cwd | string | |
path | string | |
timeoutMs | integer |
toolchain_status
Show which OverpassQL compilers, interpreters, build tools and test commands are installed.
language_reference
Return a compact OverpassQL syntax and toolchain reference for agents.