1. Conduid
  2. Blockchain
  3. OSINT MCP Server
MCP server · Blockchain

OSINT MCP Server

Building a comprehensive OSINT MCP server with proper structure, error handling, and ethical guardrails. This focuses on publicly available information gathering.​​​​​​​​​​​​​​​​

Unclaimed Apache-2.0 blockchain
34Low

Scored 6 days ago · breakdown

About OSINT MCP Server

OSINT MCP Server is an MCP server published by canstralian in the Blockchain category: building a comprehensive OSINT MCP server with proper structure, error handling, and ethical guardrails. This focuses on publicly available information gathering.​​​​​​​​​​​​​​​​.

The repository has 5 stars and 0 forks, with the last commit 5 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/canstralian/OSINT-MCP-Server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about OSINT MCP Server

Powered by Claude · Grounded in docs

I know everything about OSINT MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

README

OSINT MCP Server

A comprehensive Open Source Intelligence (OSINT) Model Context Protocol (MCP) server with proper structure, error handling, and ethical guardrails. This server focuses on gathering publicly available information while respecting privacy, legal boundaries, and ethical standards.

Features

🛡️ Ethical Guardrails

  • Rate Limiting: Configurable request limits to prevent abuse
  • robots.txt Compliance: Respects website crawling rules
  • Consent Requirements: Optional explicit consent for sensitive operations
  • Blocked Domains: Configurable domain blocklist
  • User Agent Identification: Clear identification of requests

🔍 OSINT Tools

DNS & Network Tools

  • DNS Lookup: Query DNS records (A, AAAA, MX, NS, TXT, CNAME, SOA)
  • Reverse DNS: Find hostnames associated with IP addresses
  • Nameserver Information: Get authoritative nameservers for domains
  • MX Records: Retrieve mail exchange records

IP Intelligence

  • IP Geolocation: Get location and network information for IP addresses
  • IP Reputation: Check IP addresses against threat intelligence databases (requires API key)

Web Intelligence

  • robots.txt Checker: Verify if URLs can be accessed
  • HTTP Headers: Retrieve HTTP headers (minimal bandwidth)
  • Metadata Extraction: Extract webpage metadata (title, description, etc.)
  • SSL Certificate Check: Verify SSL/TLS configuration

🏗️ Architecture

  • Modular Design: Clean separation of concerns (config, tools, utils)
  • Error Handling: Comprehensive error handling with detailed logging
  • Rate Limiting: Token bucket algorithm for fair resource usage
  • Validation: Input validation and sanitization
  • Async Operations: Efficient async/await patterns

Installation

Prerequisites

  • Python 3.10 or higher
  • pip or uv package manager

Install from source

# Clone the repository
git clone https://github.com/canstralian/OSINT-MCP-Server.git
cd OSINT-MCP-Server

# Install dependencies
pip install -r requirements.txt

# Or install in development mode
pip install -e .

Configuration

  1. Copy the example environment file:
cp .env.example .env
  1. Edit .env to customize settings:
# Rate limiting (requests per minute)
OSINT_RATE_LIMIT=10

# User agent for web requests
OSINT_USER_AGENT=OSINT-MCP-Server/0.1.0 (Educational/Research Purpose)

# Optional API Keys
ABUSEIPDB_API_KEY=your_key_here
IPINFO_API_KEY=your_key_here
SHODAN_API_KEY=your_key_here

Usage

Running the Server

# Run directly
python -m osint_mcp

# Or use the installed package
osint-mcp-server

Using with MCP Client

The server implements the Model Context Protocol and can be used with any MCP-compatible client (e.g., Claude Desktop, other AI assistants).

Example MCP client configuration:

{
  "mcpServers": {
    "osint": {
      "command": "python",
      "args": ["-m", "osint_mcp"]
    }
  }
}

Example Tool Calls

DNS Lookup

{
  "tool": "dns_lookup",
  "arguments": {
    "domain": "example.com",
    "record_type": "A"
  }
}

IP Geolocation

{
  "tool": "get_ip_info",
  "arguments": {
    "ip_address": "8.8.8.8"
  }
}

Web Metadata Extraction

{
  "tool": "extract_metadata",
  "arguments": {
    "url": "https://example.com"
  }
}

Project Structure

OSINT-MCP-Server/
├── src/
│   └── osint_mcp/
│       ├── __init__.py          # Package initialization
│       ├── __main__.py          # Entry point
│       ├── server.py            # MCP server implementation
│       ├── config/              # Configuration management
│       │   ├── __init__.py
│       │   └── settings.py      # Server and ethical settings
│       ├── tools/               # OSINT tools
│       │   ├── __init__.py
│       │   ├── dns_tools.py     # DNS and domain tools
│       │   ├── ip_tools.py      # IP intelligence tools
│       │   └── web_tools.py     # Web scraping tools
│       └── utils/               # Utility modules
│           ├── __init__.py
│           ├── errors.py        # Error handling
│           ├── rate_limiter.py  # Rate limiting
│           └── validators.py    # Input validation
├── tests/                       # Test suite
├── pyproject.toml              # Project metadata
├── requirements.txt            # Dependencies
├── .env.example               # Example configuration
└── README.md                  # This file

Ethical Guidelines

This server is designed with ethical OSINT practices in mind:

  1. Public Information Only: Only accesses publicly available information
  2. Respect robots.txt: Honors website crawling policies
  3. Rate Limiting: Prevents overwhelming target servers
  4. Transparent Identification: Uses clear user agent strings
  5. No Exploitation: Does not attempt to bypass security measures
  6. Privacy Respect: Does not collect or store personal information
  7. Legal Compliance: Adheres to applicable laws and regulations

Recommended Use Cases

✅ Security research and vulnerability assessment (with permission) ✅ Digital footprint analysis for personal or organizational security ✅ Threat intelligence gathering ✅ Domain and infrastructure research ✅ Educational purposes and learning

Prohibited Use Cases

❌ Unauthorized access or hacking attempts ❌ Harassment or stalking ❌ Privacy violations ❌ Any illegal activities ❌ Bypassing security measures

Development

Running Tests

# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run with coverage
pytest --cov=osint_mcp --cov-report=html

Code Quality

# Format code
black src/ tests/

# Lint code
ruff check src/ tests/

# Type checking
mypy src/

API Keys

Some features require API keys for enhanced functionality:

The server works without API keys but with limited functionality.

Contributing

Contributions are welcome! Please ensure your contributions:

  1. Follow ethical OSINT principles
  2. Include appropriate tests
  3. Maintain code quality standards
  4. Update documentation as needed

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This tool is provided for educational and research purposes only. Users are responsible for ensuring their use complies with all applicable laws and regulations. The authors and contributors are not responsible for misuse or damage caused by this tool.

Always obtain proper authorization before conducting security research or intelligence gathering on systems or data you do not own or have explicit permission to test.

Support

For issues, questions, or contributions:

Acknowledgments

Built with:

README fetched from the repository 2 days ago. The original is authoritative.

Questions

About OSINT MCP Server

How do I install OSINT MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is OSINT MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is OSINT MCP Server still maintained?

Yes — the last commit was 5 months ago. The repository has 5 stars and 0 forks and 5 open issues.