Crude Code Server
БесплатноНе проверенAn oil & gas data-analytics MCP server that enables guarded SQL queries, well valuation, and map rendering within chat apps.
Описание
An oil & gas data-analytics MCP server that enables guarded SQL queries, well valuation, and map rendering within chat apps.
README
An oil & gas data-analytics platform built as a Model Context Protocol server plus an inline renderer that draws results directly inside the host chat app (Claude Desktop / claude.ai).
The design principle: the model does the thinking; the server does the deterministic work. There are no inner agents. The host model explores a Postgres database with a guarded, read-only SQL tool, then publishes finished deliverables — data briefings, well valuations, and maps — by handing the server a spec it validates, hydrates, and renders.
What's in here
| Path | What it is |
|---|---|
server/ |
FastMCP server (mcp_server.py), the valuation engine (valuation/), and maps (maps/) |
renderer/ |
Inline React + TypeScript app (Vite, Tailwind) built to a single dist/app.html |
prompts/ |
Model-facing prompts and the shared DB-schema reference |
utils/ |
SQL guard, spec validation/hydration, handle stores, identity, logging |
tests/ |
Pytest suite covering the tools, engine, maps, and guards |
See CLAUDE.md for the full architecture reference.
The tools
run_sql— guarded, SELECT-only, capped exploration queryrun_data_analysis— validates + hydrates a model-authored briefing spec and renders it inlineforecast_wells/run_valuation— well-decline forecasting and economics, producing an interactive deal sheetexport_valuation_xlsx— a live, editable Excel model of a valuation runmap— a MapLibre GL well/unit/PLSS map
Requirements
- Python 3.11+ and a virtualenv (
.venv) - Node 20+ (for the renderer build)
- A Postgres database whose schema matches
utils/schemas.pyandprompts/inner/shared_schema.md. Populating that database (primary-source ingestion) is out of scope for this repo — pointEI_DB_URLat your own.
Quick start
# 1. Python deps
python -m venv .venv
.venv/bin/pip install -r requirements.txt
# 2. Configure environment
cp .env.example .env # then fill in EI_DB_URL and SUPABASE_DATABASE_URL
# 3. Run the MCP server (port 9000, /mcp endpoint)
.venv/bin/python server/mcp_server.py
# 4. Build the renderer
cd renderer && npm install && npm run build # -> dist/app.html
Testing
.venv/bin/pytest -q
Tests that need a database, the Anthropic API, or network access auto-skip when the corresponding environment variable is unset.
For frontend iteration without the host app:
cd renderer && npm run dev # http://localhost:5173/preview.html
This renders the real components against committed fixtures with hot reload.
License
Установка Crude Code Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/crude-code/mcp-appFAQ
Crude Code Server MCP бесплатный?
Да, Crude Code Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Crude Code Server?
Нет, Crude Code Server работает без API-ключей и переменных окружения.
Crude Code Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Crude Code Server в Claude Desktop, Claude Code или Cursor?
Открой Crude Code Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Gmail
Read, send and search emails from Claude
автор: GoogleSlack
Send, search and summarize Slack messages
автор: SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare Crude Code Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории communication
