politician-trading-data-assistant
Verified Safeby anguslin
Overview
A chat application for users to query politician trading data, using an LLM to interpret queries, access data via the Model Context Protocol (MCP), and summarize findings.
Installation
npm startEnvironment Variables
- HF_API_KEY
- API_KEY
- HF_MODEL_TYPE
Security Notes
The frontend (`ui/app.js`) hardcodes the `API_KEY` which will be publicly visible if deployed without modification, posing a significant security risk to that specific key. The backend implements several security measures including CORS restriction to allowed domains, API key validation via `x-api-key` header, and rate limiting. The `mcpService` spawns a child `node` process to run the `@anguslin/mcp-capitol-trades` server; while spawning child processes can be a risk, in this case, it's explicitly targeting a known internal dependency.
Similar Servers
fastchat-mcp
A Python client for integrating Language Models with Model Context Protocol (MCP) servers, allowing natural language interaction with external tools, resources, and prompts.
mcp-finance-intel
A financial intelligence MCP server providing structured market analysis and insights for crypto and equities, designed for LLM and human developer consumption.
mcp_server
An AI assistant backend built with Node.js that processes user chat messages, utilizes Groq's LLM for tool calling, and integrates with custom Model Context Protocol (MCP) endpoints for external tools like weather, time, currency exchange, and Wikipedia summaries.
MCP-Server
A TCP server exposing various system interaction tools for an AI system (LLM) to consume via a structured JSON-based protocol.