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.
Recommend MCP Servers 💡
mcp-server-aoai-dalle3
An Azure OpenAI DALL-E 3 integration server implementing the Model Context Protocol (MCP). This server provides a bridge between Azure OpenAI's DALL-E 3 image generation capability and MCP clients.
@wonderwhy-er/desktop-commander
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities
clickup-mcp
An MCP server for ClickUp integration, enabling AI assistants to interact with ClickUp tasks, lists, attachments, and comments.
@anshumax/world_bank_mcp_server
An MCP server enabling interaction with the World Bank open data API for AI assistants to list and analyze indicators
@iplocate/mcp-server
MCP server for looking up IP address geolocation (IP to country, IP to city), network information, proxy and VPN detection, abuse contacts, and more - using the IPLocate.io API.
svelte-llm
Provides Svelte developer documentation via MCP (Model Context Protocol) endpoints for AI assistants