Skip to main content
Glama

mcp-server-tree-sitter

by wrale
MIT License
33
  • Apple
  • Linux

find_usage

Locate all instances of a symbol in a codebase by specifying project, symbol, file, and language. Returns precise usage locations.

Instructions

Find usage of a symbol.

Args: project: Project name symbol: Symbol name to find file_path: Optional file to look in (for local symbols) language: Language to search in Returns: List of usage locations

Input Schema

NameRequiredDescriptionDefault
file_pathNo
languageNo
projectYes
symbolYes

Input Schema (JSON Schema)

{ "properties": { "file_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "File Path" }, "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Language" }, "project": { "title": "Project", "type": "string" }, "symbol": { "title": "Symbol", "type": "string" } }, "required": [ "project", "symbol" ], "title": "find_usageArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wrale/mcp-server-tree-sitter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server