Back to Home
seanshin0214 icon

polymath-mcp

Verified Safe

by seanshin0214

Overview

A Polymath MCP server designed as a 'second brain' to support interdisciplinary knowledge fusion and new concept creation through semantic search, socratic dialogue, and application of fusion thinking patterns across 30+ academic domains.

Installation

Run Command
python -m src.server

Environment Variables

  • POLYMATH_BASE_PATH
  • CHROMA_PATH
  • KNOWLEDGE_PATH
  • NEO4J_URI
  • NEO4J_USER
  • NEO4J_PASSWORD
  • OPENAI_API_KEY
  • USE_LOCAL_EMBEDDINGS
  • USE_NEO4J
  • VECTOR_WEIGHT
  • GRAPH_WEIGHT

Security Notes

The server primarily interacts via the Claude Desktop MCP protocol or FastAPI endpoints. Input data (queries, content, statements) is generally passed to internal engines (RAG, Socratic) or database operations (ChromaDB, Neo4j) using parameterized queries, mitigating direct injection risks. There are no obvious 'eval' or direct arbitrary command execution from user input in the provided code. Default Neo4j credentials ('neo4j', 'password') are hardcoded but can be overridden by environment variables, which is a common practice for development defaults; users should change these for production. The `add_knowledge` tool allows users to add arbitrary markdown content; if a client application renders this content without proper sanitization, it could pose a Cross-Site Scripting (XSS) risk to the client, but the server itself does not execute the content.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1700
Stars0
Forks0
Last Update2025-12-07

Tags

knowledge managementragfusion thinkingsocratic dialogueinterdisciplinaryai/mlvector database