Back to Home
zuhairabbas1 icon

legal-research-mcp

Verified Safe

by zuhairabbas1

Overview

This server exposes a Google Search tool as an MCP endpoint, allowing a client application to perform legal research and leverage an LLM for structured analysis.

Installation

Run Command
python mcp_server.py

Environment Variables

  • OPENAI_API_KEY

Security Notes

The Flask server runs with `debug=True`, which is a critical security vulnerability for any production deployment as it can expose the debugger and allow arbitrary code execution. While acceptable for a local, educational project, it's a significant risk if used outside this context. The `perform_google_search` function initiates an external HTTP request to Google but then discards the response in favor of hardcoded mock data, making the actual search functional but irrelevant to the output and potentially fragile. No 'eval' or malicious patterns were found.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassLow
Avg Tokens600
Stars0
Forks0
Last Update2025-11-19

Tags

MCPFlaskGoogle SearchLegal ResearchTool Server