codesearch-mcp 0.0.10-alpha → 0.0.11-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,6 +58,9 @@ You have access to a local semantic code search server. Use these tools to navig
58
58
  - **read_file_range** — read a specific line range from any indexed file. Use this to expand context around a search result.
59
59
  - **get_dependencies** — show what files a given file imports (direct or transitive). Use to understand what a file depends on.
60
60
  - **get_dependents** — show which files import a given file (reverse graph). Use before refactoring to find all callers.
61
+ - **find_symbol** — find where a symbol (function, class, type, interface, variable) is defined by exact name. Faster than semantic search when you know the name.
62
+ - **list_files** — browse the directory tree of a project path. Use to understand project structure before reading files.
63
+ - **read_file** — read a complete file by absolute path with line numbers. Truncates at max_lines with a hint to continue.
61
64
 
62
65
  ## Recommended workflow
63
66
 
@@ -82,15 +85,9 @@ You have access to a local semantic code search server. Use these tools to navig
82
85
 
83
86
  Lower score = better match (cosine distance). Results above the configured threshold are filtered out automatically.
84
87
 
85
- ## Dependency graph tools
86
-
87
- - **get_dependencies** — show what files a given file imports (direct or transitive). Use when you need to understand what a file depends on.
88
- - **get_dependents** — show which files import a given file (reverse graph). Use before refactoring to find all callers and avoid breaking changes.
89
- - **find_symbol** — find where a symbol (function, class, type, interface, variable) is defined by exact name. Faster than semantic search when you know the name.
90
- - **list_files** — browse the directory tree of a project path. Use to understand project structure before reading files.
91
- - **read_file** — read a complete file by absolute path with line numbers. Truncates at max_lines with a hint to continue.
88
+ ## Dependency graph
92
89
 
93
- Both tools require \`file_path\` (as returned by \`search_codebase\`) and \`project\` (from \`list_projects\`). Pass \`transitive: true\` for the full dependency chain.
90
+ \`get_dependencies\` and \`get_dependents\` require \`file_path\` (as returned by \`search_codebase\`) and \`project\` (from \`list_projects\`). Pass \`transitive: true\` for the full dependency chain. depType values: \`import\` | \`import-default\` | \`import-namespace\` | \`reexport\` | \`reexport-namespace\`. \`fromSymbol\` — the top-level class or function in the importing file that uses this import (null if ambiguous or not tracked).
94
91
  `.trim();
95
92
  class McpServer {
96
93
  searcher;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codesearch-mcp",
3
- "version": "0.0.10-alpha",
3
+ "version": "0.0.11-alpha",
4
4
  "description": "Local semantic codebase search via MCP — indexes projects into pgvector, exposes search to Claude",
5
5
  "license": "MIT",
6
6
  "main": "dist/app.js",