TruthLens logo

TruthLens

by NemroNeno

TruthLens is a Model Context Protocol (MCP) server designed to detect, analyze, and verify potential misinformation. It leverages AI and external knowledge sources to provide automated fact-checking and misinformation monitoring capabilities.

View on GitHub

Last updated: N/A

What is TruthLens?

TruthLens is an MCP server that empowers AI assistants with tools to identify and analyze misinformation. It integrates web content ingestion, claim extraction, and verification processes to assess the veracity of information.

How to use TruthLens?

To use TruthLens, you need to install the server, set up the required API keys (Google Gemini API is essential), and then send requests to its MCP endpoints. You can ingest URLs, extract claims from text, and verify the accuracy of those claims using the provided tools.

Key features of TruthLens

  • Web Content Ingestion

  • Claim Extraction (using Google's Gemini AI)

  • Claim Verification (using AI and external knowledge sources)

  • News Monitoring

  • Trend Analysis

Use cases of TruthLens

  • Automated fact-checking

  • Misinformation monitoring in news articles

  • Social media content analysis

  • Identifying trending misinformation topics

FAQ from TruthLens

What is the primary purpose of TruthLens?

TruthLens aims to detect, analyze, and verify potential misinformation using AI and external knowledge sources.

What API keys are required to run TruthLens?

At a minimum, you need a Google Gemini API key. NewsAPI and Reddit API keys are optional but enhance functionality.

How do I install TruthLens?

You can install TruthLens using UV (recommended) or pip. Follow the steps in the README to clone the repository, create a virtual environment, install dependencies, and set up API keys.

What are the limitations of the current implementation?

The current implementation uses in-memory storage, making it unsuitable for production. The pattern matching fallback has limited accuracy compared to AI-powered analysis, and web scraping may be subject to rate limits.

How can I contribute to TruthLens?

Contributions are welcome! Please feel free to submit a Pull Request following the guidelines in the repository.