
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Codebased is the most powerful code search tool that runs on your computer.
Here's why it's great:
.gitignore
file(s) and ignores hidden directories.The fastest way to install Codebased is with pipx:
pipx install codebased
Verify the installation by running:
codebased --version
If this fails, please double-check your pipx installation.
Next, run the following command in a Git repository to start searching:
codebased search
The first time you run Codebased, it will create a configuration file at ~/.codebased/config.toml
.
It will prompt you for an OpenAI key, you can access a testing key on the Discord.
Once this is finished, codebased
will create an index of your codebase, stored in .codebased
at the root of your
repository.
This takes seconds for most projects, but can take a few minutes for large projects.
Most of the time is spent creating embeddings using the OpenAI API.
Once the index is created, a terminal UI will open with a search bar. At this point, you can start typing a search query and results will appear as you type.
Codebased will run stat
on all non-ignored files in your repository, which can take a few seconds, but after that
will listen for filesystem events, so it's recommended to use the TUI.
If you'd like to contribute, bug fixes are welcome, as well as anything in the list of issues.
Especially welcome is support for your favorite language, as long as:
Also, if there's anything ripgrep does that Codebased doesn't, feel free to file an issue / PR.
Clone the repository:
git clone https://github.com/codebased-sh/codebased.git
Install the project's dependencies (requires poetry, using a virtual environment is recommended):
poetry install
Run the tests (some tests require an OPENAI_API_KEY
environment variable, usage is de minimis):
poetry run pytest
FAQs
AI-powered code search for the terminal and beyond.
We found that codebased demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.