Provides a production-grade MCP server that orchestrates code evolution, local code search, package discovery, and pattern learning to accelerate development.
Configuration
View docs{
"mcpServers": {
"ash-blanc-kia-mcp-server": {
"command": "python",
"args": [
"server.py"
],
"env": {
"MORPH_API_KEY": "YOUR_MORPH_API_KEY",
"CHROMA_API_KEY": "YOUR_CHROMA_API_KEY",
"OPENROUTER_API_KEY": "YOUR_OPENROUTER_API_KEY"
}
}
}
}KIA MCP Server is a production-grade orchestrator that combines four workflow-centric tools to help you evolve code, search local codebases, discover best practices from publicly available packages, and extract reusable patterns. It lets you work with your codebase more efficiently by leveraging best-in-class APIs through a streamlined local server.
You will interact with the KIA MCP Server through an MCP client. Start by ensuring the server is running locally, then use the four core tools to perform common tasks. Use evolve_code to iteratively improve a function or module and validate quality across multiple dimensions. Use search_local_codebase to ask questions in plain English about your project to locate relevant code quickly. Use search_packages to learn from real-world implementations by exploring code samples and documentation from popular packages. Use learn_pattern to capture successful evolution patterns and apply them to future work.
Follow these steps to set up the KIA MCP Server on your machine. Prerequisites are Python 3.9+ and Git.
# Prerequisites
# - Python 3.9+
# - Gitgit clone https://github.com/Ash-Blanc/kia-mcp-server.git
cd kia-mcp-serverpip install -r requirements.txt
```
Or, if you prefer using uvx for an improved startup experience:
```bash
uv pip install -r requirements.txt# Morph API for code merging and semantic search
export MORPH_API_KEY="sk-..."
# Chroma Package Search for package discovery
export CHROMA_API_KEY="ck-..."
# OpenRouter as GEPA/DSPy LLM backend
export OPENROUTER_API_KEY="sk-or-..."python server.py
# β π KIA MCP Server starting...
# β Morph API: β
Available
# β Chroma API: β
Available
# β GEPA (OpenRouter): β
AvailableOpen a new terminal and confirm the server is responding by checking the status resources once the server is running. You should see indicators for the Morph, Chroma, and GEPA integrations as shown above.
Production-ready code evolution with multi-step reasoning and quality validation across correctness, performance, security, readability, and maintainability.
Natural language code search using Morph with two-stage retrieval (vector + rerank) returning file paths, line numbers, and relevance scores.
Discover and learn from 3,000+ public packages across Python, JavaScript/TypeScript, Go, Ruby, Java, and more, with code examples and documentation links.
Extract and store successful evolution patterns from previous code changes to apply them automatically in future evolutions.