semvec/pypi-packages huggingface dataset:
dcmfetch 0.3.2
DICOM query retrieve tools
License: MIT

# DICOM Server Access

Dcmfetch is a python package for retrieving images from a [DICOM](http://medical.nema.org/) server. The package does not provide a DICOM transport itself but wraps either the command line utilies from  [dcm4che3](https://sourceforge.net/projects/dcm4che/files/dcm4che3/) or the native python library [pynetdicom](https://github.com/pydicom/pynetdicom). In addition, bundled standalone versions of the required dcm4che3 tools are included so the only mandatory external (non-python) dependency for the dcm4che3 option is a working java runtime. Further details on installation and use are available [here](docs/dcmfetch.md).

The DICOM server must support the dicom `c-find` and `c-get` protocols (not just `c-move`).
This is the case for the
[dcm4chee](https://sourceforge.net/projects/dcm4che/files/dcm4chee/) server, though several other common servers do not as yet support `c-get`. In addition, `dcmfetch` supports access to servers such as [orthanc](http://www.orthanc-server.com/) using the `QIDO-RS` and `WADO-RS` web *REST* APIs instead.

DICOM servers are identified by keys in the configuration file `dcmnodes.cf`. This file encodes the server details (AET, host, port) together with a string representing facilities supported by the server (including the web API if available). This file may be installed to the directory `/etc` on a unix system, but as it may contain credentials for rest apis it is better installed to the per user location `~/.config/dcmfetch/`.

As well as the python package `dcmfetch`, two utilities are provided: `dcmfetch` a command line program to retrieve series and `dcmfetchtool` a [PyQt](https://riverbankcomputing.com/software/pyqt/intro) based graphical tool.

## Licences

This package is made available under the [MIT](LICENCE) licence. The included dcm4che3 programs are distributed under the [Mozilla](https://github.com/dcm4che/dcm4che/blob/master/LICENSE.txt) public licence; the only modification here has been to bundle them into single executables.
spiderfoot-mcp 1.0.0
Model Context Protocol server for SpiderFoot OSINT automation
License: MIT
Requires Python: >=3.8
Keywords: spiderfoot, osint, security, mcp, model-context-protocol, reconnaissance

# SpiderFoot MCP Server

A Model Context Protocol (MCP) server that provides SpiderFoot OSINT automation capabilities to AI assistants and other MCP clients.

## Installation

```bash
pip install spiderfoot-mcp
```

## Configuration

Set the following environment variables or create a `.env` file:

```bash
SPIDERFOOT_URL=http://localhost:5001
SPIDERFOOT_USERNAME=admin
SPIDERFOOT_PASSWORD=your_password
```

## Usage

### As MCP Server

Start the MCP server:

```bash
spiderfoot-mcp
```

The server will expose SpiderFoot functionality as MCP tools that can be used by AI assistants.

### Available Tools

The MCP server provides the following tools:

- `start_scan`: Start a new SpiderFoot scan
- `get_scan_status`: Get the current status of a scan
- `list_scans`: List all scans on the server
- `stop_scan`: Stop a running scan
- `delete_scan`: Delete a scan and its data
- `get_scan_results`: Get results from a scan
- `get_scan_summary`: Get a summary of scan results
- `wait_for_scan_completion`: Wait for a scan to complete
- `export_scan_results`: Export scan results in various formats
- `get_available_modules`: Get list of available SpiderFoot modules
- `search_scan_results`: Search across scan results
- `get_scan_log`: Get log entries for a scan
- `get_active_scans_summary`: Get summary of tracked scans
- `ping`: Test connectivity to SpiderFoot server

### MCP Client Configuration

To use this server with Claude Desktop or other MCP clients, add the following to your MCP configuration:

```json
{
  "mcpServers": {
    "spiderfoot": {
      "command": "spiderfoot-mcp",
      "env": {
        "SPIDERFOOT_URL": "http://localhost:5001",
        "SPIDERFOOT_USERNAME": "admin",
        "SPIDERFOOT_PASSWORD": "your_password"
      }
    }
  }
}
```

## Requirements

- Python 3.8+
- spiderfoot-client>=1.0.0
- fastmcp>=2.10.0
- python-dotenv>=1.0.0
- A running SpiderFoot instance

## Dependencies

This package depends on the `spiderfoot-client` package, which provides the underlying SpiderFoot API client functionality.

## License

MIT License
spiderfoot-client 1.0.0
Python client library for SpiderFoot API
License: MIT
Requires Python: >=3.8
Keywords: spiderfoot, osint, security, reconnaissance, api

# SpiderFoot Client

A Python client library and command-line interface for the SpiderFoot OSINT automation tool API.

## Installation

```bash
pip install spiderfoot-client
```

## Library Usage

```python
from spiderfoot_client import SpiderFootClient

# Initialize client
client = SpiderFootClient(
    base_url="http://localhost:5001",
    username="admin", 
    password="your_password"
)

# Start a scan
result = client.start_scan(
    target="example.com",
    scan_name="My Scan",
    use_case="passive"
)
scan_id = result['id']

# Monitor scan progress
status = client.get_scan_status(scan_id)
print(f"Scan status: {status['status']}")

# Wait for completion
final_status = client.wait_for_completion(scan_id)

# Get results
results = client.get_scan_results(scan_id)
```

## Command Line Usage

Set environment variables:
```bash
export SPIDERFOOT_URL="http://localhost:5001"
export SPIDERFOOT_USERNAME="admin"
export SPIDERFOOT_PASSWORD="your_password"
```

Commands:
```bash
# Test connectivity
spiderfoot-client ping

# Start a scan
spiderfoot-client start example.com "My Scan" --usecase passive

# List all scans
spiderfoot-client list

# Get scan status
spiderfoot-client status SCAN_ID

# Get scan results
spiderfoot-client results SCAN_ID

# Stop a scan
spiderfoot-client stop SCAN_ID

# Delete a scan
spiderfoot-client delete SCAN_ID

# Export results
spiderfoot-client export SCAN_ID --format json

# Wait for scan completion
spiderfoot-client wait SCAN_ID

# Get available modules
spiderfoot-client modules

# Search results
spiderfoot-client search "query" --scan-id SCAN_ID
```

## Configuration

The client can be configured using environment variables:

- `SPIDERFOOT_URL`: SpiderFoot server URL (default: http://localhost:5001)
- `SPIDERFOOT_USERNAME`: Username for authentication (default: admin)
- `SPIDERFOOT_PASSWORD`: Password for authentication (required)

## Requirements

- Python 3.8+
- requests>=2.31.0

## License

MIT License