
代码解析
STDIO为大语言模型提供高效代码库访问和搜索能力的服务
为大语言模型提供高效代码库访问和搜索能力的服务
An MCP (Model Context Protocol) server that gives Claude and other LLMs instant, intelligent access to your codebase. Think of it as "giving your LLM a GPS for your code" - instead of reading every file, BigParse lets LLMs navigate and search your codebase efficiently.
Without BigParse, when you ask Claude about your code:
With BigParse, Claude can:
Add to Claude Desktop config:
# macOS open ~/Library/Application\ Support/Claude/claude_desktop_config.json # Windows notepad %APPDATA%\Claude\claude_desktop_config.json # Linux nano ~/.config/Claude/claude_desktop_config.json
Add BigParse to the mcpServers
section:
{ "mcpServers": { "BigParse": { "command": "npx", "args": ["bigparse"], "env": { "WORKSPACE_ROOT": "/path/to/your/projects" } } } }
Replace /path/to/your/projects
with the directory you want to analyze
Restart Claude Desktop
Benefits:
git clone https://github.com/agentbrazley/BigParse.git cd BigParse
npm install
npm run build
./scripts/install-for-claude.sh
Or manually:
claude mcp add bigparse "node" "$(pwd)/dist/index.js"
For enhanced features, install language servers:
# TypeScript/JavaScript npm install -g typescript-language-server typescript # Python pip install python-lsp-server # Rust rustup component add rust-analyzer # Go go install golang.org/x/tools/gopls@latest # Dart/Flutter # Included with Flutter SDK
BigParse creates a searchable index of your codebase that LLMs can query efficiently:
Without BigParse:
With BigParse:
Once installed, BigParse tools are automatically available in Claude. Just ask:
To change the workspace directory, edit your Claude Desktop config file and update the WORKSPACE_ROOT
environment variable:
{ "mcpServers": { "BigParse": { "command": "node", "args": ["/path/to/BigParse/dist/index.js"], "env": { "WORKSPACE_ROOT": "/new/project/path" } } } }
Then restart Claude Desktop.
By default, BigParse uses the current directory. To analyze a specific project:
# Using the helper script ./scripts/update-workspace.sh /path/to/your/project # Or with environment variable claude mcp remove bigparse -s local claude mcp add bigparse "node" "/path/to/BigParse/dist/index.js" --env "WORKSPACE_ROOT=/path/to/project"
| Tool | Description | Example |
|------|-------------|---------||
| index_codebase
| Index project files for searching | "Index this TypeScript project" |
| search_code
| Search with regex patterns | "Find all async functions" |
| get_symbols
| Extract symbols from files | "Show symbols in main.ts" |
| find_references
| Find all references to a symbol | "Find all uses of WebSocketClient" |
| go_to_definition
| Jump to symbol definition | "Go to definition of handleMessage" |
| check_language_servers
| Check installed LSPs | "What language servers are installed?" |
| install_language_server
| Install language servers | "Install TypeScript language server" |
.ts
, .tsx
, .js
, .jsx
).py
).rs
).go
).java
).cs
).c
, .cpp
, .h
).rb
).php
).swift
).dart
)BigParse stores its cache in .bigparse/
within your project directory. Add this to .gitignore
:
.bigparse/
# Install dependencies npm install # Build TypeScript npm run build # Run tests npm test
BigParse/
├── src/ # TypeScript source files
│ ├── index.ts # MCP server entry point
│ ├── lsp/ # Language Server Protocol integration
│ ├── indexing/ # Code indexing and caching
│ ├── tools/ # MCP tool definitions
│ └── subprocess/ # Secure subprocess handling
├── dist/ # Compiled JavaScript
├── config/ # Language configurations
└── scripts/ # Helper scripts
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
BigParse includes security features to safely handle subprocess commands:
# Check if installed claude mcp list # Reinstall if needed ./install-for-claude.sh
# Check installed servers claude mcp get bigparse # Then ask Claude to use check_language_servers tool
# Clear cache rm -rf .bigparse/
MIT License - see LICENSE file
Created by Lancio AI (2025)
Made with ❤️ for the Claude community