Back to Home
anguslin icon

politician-trading-data-assistant

Verified Safe

by 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

Run Command
npm start

Environment 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

Stats

Interest Score0
Security Score6
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-11-30

Tags

Node.jsLLMMCPFinancial DataChatbot