Skip to main content

MCP server for converting caste CSV data to Neo4j Cypher queries using Gemini AI

Reason this release was yanked:

unsafe

Project description

MCP Caste Cypher Generator

A Model Context Protocol (MCP) server that converts caste CSV data into Neo4j Cypher queries using Google's Gemini AI batch processing.

mcp-name: io.github.pareforce/mcp-caste-cypher

Features

  • CSV to JSONL Conversion: Prepare batch requests from CSV files containing caste information
  • Batch Processing: Leverage Gemini AI's batch API for efficient large-scale processing
  • Cypher Query Generation: Automatically generate Neo4j graph database queries
  • Job Monitoring: Track batch job status in real-time

Tools Provided

1. prepare_batch_input

Converts CSV files into JSONL batch request format.

Parameters:

  • input_csv: Path to input CSV file
  • output_jsonl: Path to output JSONL file

2. run_batch_job

Executes the complete batch workflow: upload, process, monitor, and download results.

Parameters:

  • api_key: Google Gemini API key
  • input_jsonl: Path to input JSONL file
  • output_cypher: Path to output Cypher file (automatically adds .cypher extension)

3. check_batch_status

Monitor the status of a running batch job.

Parameters:

  • api_key: Google Gemini API key
  • job_name: Name of the batch job to check

Installation

pip install mcp-caste-cypher

Usage

With Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "caste-cypher": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-caste-cypher",
        "run",
        "mcp-caste-cypher"
      ]
    }
  }
}

Standalone

uv run mcp-caste-cypher

Supported CSV Formats

Format 1 (BC/SC with groups):

serial_number,group_name,caste_name,category
1,BC-A,Agnikulakshatriya,BC

Format 2 (General/ST):

serial_number,caste_name,category
1,Kapu,GENERAL

Requirements

  • Python >=3.12
  • Google Gemini API key
  • Dependencies: mcp, httpx, google-genai

License

MIT

Author

Praneeth Sunku (praneethsunku@gmail.com)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_caste_cypher-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_caste_cypher-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_caste_cypher-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_caste_cypher-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mcp_caste_cypher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 02648cc5bc5c5365bcccd48cfcfd92fc3bdbcd91ac08bef4b4372f11486cc099
MD5 c773c59c68ee1bf613c96150cfabb36c
BLAKE2b-256 8af08d712654ce6c4956ebdc25cb70299688e1fc625607455d6712c3e383653e

See more details on using hashes here.

File details

Details for the file mcp_caste_cypher-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_caste_cypher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 655f2d0502ea1c85d31fff226713154237374546abc0c71d5876356942bbeccb
MD5 4df5041da9e265ea63f87dcd36fa370f
BLAKE2b-256 a03d1a05f053822bd02c2b273135d98d85b7f01360bf8e53abcf53bbcad118dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page