π§ AI-Ready Data & Context Engineering API
Connect any data source, query with natural language, clean and standardize data, build AI-ready context packages, and protect privacy with automated PII redaction.
π API Docs β’ π° Pricing β’ π Website
--- One API to unify, clean, and serve your data to AI agents. β‘ ## π Quick Start ```bash # 1. Register (free β 25 credits, no credit card) curl -X POST https://datamind-api.kelnix.org/register \ -H "Content-Type: application/json" \ -d '{"agent_name": "My Agent"}' # 2. Connect a data source (mock CRM for demo) curl -X POST https://datamind-api.kelnix.org/sources/connect \ -H "X-API-Key: dm_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"source_type": "mock_crm", "name": "Demo CRM"}' # 3. Query with natural language curl -X POST https://datamind-api.kelnix.org/data/query \ -H "X-API-Key: dm_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"source_id": "YOUR_SOURCE_ID", "query": "top 5 companies by revenue"}' ``` ## π MCP Integration Works with Claude Desktop, Cursor, VS Code, and any MCP-compatible client. ### Claude Desktop / Cursor Add to your MCP config: ```json { "mcpServers": { "kelnix-datamind-curator": { "url": "https://datamind-api.kelnix.org/stream/mcp/", "headers": { "X-API-Key": "dm_YOUR_API_KEY" } } } } ``` ### Smithery ```bash npx -y @smithery/cli@latest install @kelnix/kelnix-datamind-curator --client claude ``` ## π οΈ Tools | Tool | Description | Cost | |------|-------------|------| | `sources.connect` | π Connect a data source (PostgreSQL, MySQL, CRM, API) | 1 credit | | `sources.list` | π List connected data sources | free | | `sources.test` | β Test source connectivity | free | | `data.query` | π¬ Query data with natural language or SQL | 2 credits | | `data.fetch` | π₯ Fetch raw rows with filters & pagination | 1 credit | | `data.search` | π Semantic vector search across indexed data | 2 credits | | `pipeline.clean` | π§Ή Standardize dates, phones, emails, currencies | 2 credits | | `pipeline.deduplicate` | π Remove duplicate records | 1 credit | | `pipeline.redact_pii` | π Auto-detect and redact PII | 1 credit | | `context.build` | π§ Build AI-ready context for RAG pipelines | 3 credits | | `context.summarize` | π AI-powered dataset summary with insights | 2 credits | | `credits.check_balance` | π³ Check credits and plan | free | ## π¦ Supported Data Sources - π **PostgreSQL** β Full SQL support with schema introspection - π¬ **MySQL** β Coming soon - π’ **Mock CRM** β Built-in demo with companies, contacts, and deals - π **CSV** β Coming soon - π **JSON API** β Coming soon ## π° Pricing | Credits | Price | Per Credit | |---------|-------|------------| | 25 | π Free | on signup | | 100 | $8 | $0.080 | | 500 | $30 | $0.060 | | 1,000 | $50 | $0.050 | | 5,000 | $200 | $0.040 | | 10,000 | $400 | $0.040 | Monthly plans: **Basic** (200/mo, $15) Β· **Pro** (2,000/mo, $99) π³ Pay with Stripe (cards) or πͺ 300+ cryptocurrencies. ## π API Docs Interactive Swagger docs: [datamind-api.kelnix.org/docs](https://datamind-api.kelnix.org/docs) ## ποΈ Self-Hosting ```bash git clone https://github.com/kelnixsolutions/Kelnix-DataMind-Curator.git cd Kelnix-DataMind-Curator python -m venv .venv && source .venv/bin/activate pip install -r requirements.txt cp .env.example .env # edit with your keys uvicorn app:app --host 0.0.0.0 --port 8001 ``` ## ποΈ Architecture ``` ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β MCP Clients β β REST API β β Registries β β Claude/CursorββββββΆβ FastAPI βββββββ Smithery/etc β ββββββββββββββββ ββββββββ¬ββββββββ ββββββββββββββββ β ββββββββββββΌβββββββββββ β β β ββββββββΌβββ ββββββΌβββββ βββββΌβββββββ βConnectorsβ βPipeline β β Context β β PG/CRM β βClean/PIIβ βBuild/NLQ β βββββββββββ βββββββββββ ββββββββββββ β β β ββββββββΌβββ ββββββΌβββββ βββββΌβββββββ β SQLite β β Redis β β ChromaDB β β Billing β β Cache β β Vectors β βββββββββββ βββββββββββ ββββββββββββ ``` ## π License MIT β [Kelnix Solutions](https://kelnix.org)