
code oracle
一个使用 Gemini 2.5 Flash 查找代码的 Python 工具,能快速定位代码库中的目标代码。
Repository Info
About This Server
一个使用 Gemini 2.5 Flash 查找代码的 Python 工具,能快速定位代码库中的目标代码。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Code Oracle
A Python tool for locating code using Gemini 2.5 Flash. Capable of shifting through large amounts of code to locate the answer to your query.
Features
- Uses AI to help locate code in a codebase
Installation
uv install
Usage
uv run main.py
Using as MCP in Cursor
To use Code Oracle as a Model Context Protocol (MCP) server in Cursor:
- Clone this repository
- Have
uvinstalled - Create an
mcp.jsonfile in your Cursor configuration directory with the following content:
{
"mcpServers": {
"code-oracle": {
"command": "/path/to/run_mcp.sh",
"env": {
"GEMINI_API_KEY": "your-gemini-key"
}
}
}
}
Make sure to:
- Replace
/path/to/run_mcp.shwith the actual path to therun_mcp.shscript in this repo - Set your Gemini API key in the environment variables
After configuration, Code Oracle will be available as a tool when using Cursor.
Quick Start
Clone the repository
git clone https://github.com/jpheimonen/code-oracleInstall dependencies
cd code-oracle
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.