What is Gossiphs?
Gossiphs is a "zero setup" and "blazingly fast" code file relationship analysis tool that uses tree-sitter and git history to build a graph of symbol definitions and references across files. It is designed for developers and AI integration, providing a Python SDK and support for the Model Context Protocol (MCP).
How to use Gossiphs?
Install via pip install gossiphs, then use the Python API to configure a project path and create a NetworkX graph of file relationships. Alternatively, use the CLI to export CSV files or start an HTTP service. For MCP integration, see the dedicated MCP README.
Key features of Gossiphs
- Zero repository-specific configuration required.
- Blazingly fast analysis using tree-sitter and git analysis.
- Supports multiple languages (Rust, Python, TypeScript, JavaScript, Golang, Java, Kotlin, Swift).
- Can export relationship graphs as CSV or serve via HTTP.
- MCP support for seamless AI integration.
- Acceptable accuracy (88–94% coverage of LSP edges in tested repos).
Use cases of Gossiphs
- Guiding context during IDE development.
- Facilitating code browsing on websites.
- Impact analysis of code changes in CI systems.
- Querying references and definitions across a codebase for complex analysis.
コメント