The Truth-Seeking MCP Server is a specialized Model Context Protocol (MCP) server designed to provide balanced perspectives on claims and statements. It helps analyze claims by finding supporting and opposing viewpoints from various sources, extracting claims from text, and transcribing media content.
- Claim Analysis: Analyzes claims by finding supporting and opposing perspectives from web searches, presenting balanced viewpoints with confidence scoring.
- Claim Extraction: Extracts factual, predictive, or normative claims from text using LLM processing.
- Perspective History: Retrieves historical perspectives for similar claims from memory storage for consistent analysis over time.
- Media Transcription: Transcribes speech from YouTube videos or podcasts into text using OpenAI's Whisper API.
-
Clone the repository:
git clone https://github.com/storm573/truth.git cd truth -
Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables in a
.envfile:BRAVE_SEARCH_API_KEY=your_brave_search_api_key PERPLEXITY_API_KEY=your_perplexity_api_key # Optional but recommended OPENAI_API_KEY=your_openai_api_key # Required for transcription HOST=0.0.0.0 # Default host PORT=8050 # Default port ENABLE_MEMORY=false # Set to true to enable memory features
Start the server:
python truth.pyThe server will be available at http://localhost:8050 (or the host/port specified in your environment variables).
- analyze_claim: Analyze a claim by finding perspectives both supporting and opposing it.
- extract_claim: Extract factual, predictive, or normative claims from text.
- get_perspective_history: Get historical perspectives for similar claims.
- transcribe_media: Transcribe speech from YouTube videos or podcasts into text.
Google Cloud Project ID: truth-seeker-460200
This project is proprietary and confidential.
Contributions are welcome. Please feel free to submit a Pull Request.