GhostLex Legal AI MCP Server

GhostLex Legal AI MCP Server

ghostlex-mcp-server•bykk0811852-gif

A Model Context Protocol server exposing GhostLex's Indian legal research tools, including statutory analysis, case summaries, vault search, and Word report generation.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides deep legal research with full statutory mapping and landmark Supreme Court citations.
  • •Searches a locally cached research vault and lists past vault entries to save API credits.
  • •Generates Word reports by researching, formatting to a GhostLex_Analysis docx file, and saving it.
  • •Returns quick 200-word summaries on Indian legal topics and exposes the JSON case vault as a readable resource.

BEST FOR

  • •Studying the newly enacted BNS, BNSS, and BSA statutes with statutory mapping and Supreme Court citations.
  • •Reusing cached prior research to reduce API credit usage.
  • •Producing shareable Word reports from legal research.

ABOUT GHOSTLEX-MCP-SERVER

GhostLex Legal AI MCP Server is cataloged as an MCP server attributed to kk0811852-gif. A Model Context Protocol server exposing GhostLex's Indian legal research tools, including statutory analysis, case summaries, vault search, and Word report generation. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for GhostLex Legal AI MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server clean up generated reports automatically?

Yes, it runs a compliance sweep on startup that erases generated docx reports older than 24 hours.

What is required before running the server?

A Google AI Studio API key must be set as the GOOGLE_API_KEY environment variable.

Upstream README

View this exact version on GitHub

README.md · 9e50e389db94 · Fetched 2026-11-13 12:21:45 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

GhostLex MCP Server 🇮🇳⚖️

GhostLex Research Systems as a Model Context Protocol (MCP) Server. This exposes our core Indian legal AI capabilities to any MCP-compatible environment (Claude Desktop, Cursor, Antigravity Editor, ChatGPT, etc.).

🚀 What It Does

This server provides 5 tools and 1 resource for deep legal research on the newly enacted BNS/BNSS/BSA (Bharatiya Nyaya Sanhita, etc.):

  1. analyze_legal_query — Deep legal research with full statutory mapping and landmark Supreme Court citations.
  2. search_vault — Search locally cached research to save API credits.
  3. list_vault_entries — View all past research currently in the vault.
  4. generate_word_report — Full pipeline: Research → Format to GhostLex_Analysis_*.docx → Save.
  5. get_case_summary — Quick 200-word summary on any Indian legal topic.

Resource:

  • ghostlex://vault — Exposes the entire JSON case vault as readable context for the AI.

🛠️ Setup & Installation

1. Prerequisites

Ensure you have Python 3.10+ installed.

2. Install Dependencies

cd "the ghost engine"
pip install -r requirements.txt

3. API Key

You must set your Google AI Studio API key as an environment variable before running the server or connecting to it.

  • Windows: set GOOGLE_API_KEY="your_api_key_here"
  • Mac/Linux: export GOOGLE_API_KEY="your_api_key_here"

🔌 Connecting to Claude Desktop / Antigravity

Add the following to your MCP configuration file (mcp_config.json or claude_desktop_config.json):

{
  "mcpServers": {
    "ghostlex-legal-ai": {
      "command": "python",
      "args": [
        "C:/path/to/the ghost engine/ghostlex_mcp_server.py"
      ],
      "env": {
        "GOOGLE_API_KEY": "your_api_key_here"
      }
    }
  }
}

(Make sure to change the path to where your ghostlex_mcp_server.py file actually lives!)

🧪 Testing Locally (MCP Inspector)

You can run the interactive MCP inspector to test all tools directly in your browser:

set GOOGLE_API_KEY="AIzaSy..." # your key
mcp dev ghostlex_mcp_server.py

This will open a web UI where you can click "Call Tool" and verify everything works.

🛡️ DPDP Compliance

This server automatically runs a compliance sweep on startup, erasing any generated .docx reports older than 24 hours to comply with the DPDP Act 2023.


Prepared by GhostLex Research Desk | Copyright © 2026 GhostLex Research Systems Created and Open-Sourced by Kabir Khan

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for GhostLex Legal AI MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ghostlex-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research