Skip to main content

A DLIS server implementation for MCP

Project description

DLIS MCP Server

A Model Context Protocol server that provides DLIS (Digital Log Interchange Standard) file analysis capabilities. This server enables LLMs to extract information from DLIS files, including channel data and metadata, with support for hierarchical data structures.

Features

  • Extract channel data from DLIS files
  • Analyze DLIS file metadata
  • Support for hierarchical data structures
  • Easy integration with LLM applications

Installation

Using pip

pip install mcp_server_dlis

After installation, you can run it as a script using:

python -m mcp_server_dlis

Configuration

Configure for Claude.app

Add to your Claude settings:

"mcpServers": {
  "dlis": {
    "command": "python",
    "args": ["-m", "mcp_server_time"]
  }
}

Available Tools

  • extract_channels - Extracts all channels from a DLIS file and saves them to a folder structure.

    • Required arguments:
      • file_path: Path to the DLIS file to analyze
  • get Metadata - Extracts metadata from a DLIS file with hierarchical structure.

    • Required arguments:
      • file_path: Path to the DLIS file to analyze

Example Usage

  1. Extract channels from a DLIS file:
{
  "name": "extract_channels",
  "arguments": {
    "file_path": "path/to/your/dlis_file.dlis"
  }
}

Response:

{
  "output_path": "path/to/the/output/folder"
}
  1. Get metadata from a DLIS file:
{
  "name": "extract_channels",
  "arguments": {
    "file_path": "path/to/your/dlis_file.dlis"
  }
}

Response:

{
  "output_path": "path/to/the/output/file.txt"
}

Debugging

You can use the MCP inspector to debug the server:

npx @modelcontextprotocol/inspector mcp_server_dlis

Examples of Questions for Claude

  1. "What channels are available in this DLIS file at path/to/dlis/file.dlis?"
  2. "Show me the metadata structure of this DLIS file at path/to/dlis/file.dlis"
  3. "Extract all channels from this DLIS file at path/to/dlis/file.dlis"

Contributing

We encourage contributions to help expand and improve mcp_server_dlis. Whether you want to add new DLIS analysis tools, enhance existing functionality, or improve documentation, your input is valuable.

For examples of other MCP servers and implementation patterns, see: https://github.com/modelcontextprotocol/servers

Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make mcp_server_dlis even more powerful and useful.

License

mcp_server_dlis is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_dlis-0.1.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_dlis-0.1.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_dlis-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_server_dlis-0.1.1.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for mcp_server_dlis-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e53322a3774f10def64db2d052af78ba218ce86172554684d58a47698b563cbf
MD5 fd775a6bf7450da4c4a8cf184365a368
BLAKE2b-256 1b2ede16323ae5f0add7cfe5a451e131988b061e5305e60805c04b507512340a

See more details on using hashes here.

File details

Details for the file mcp_server_dlis-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_dlis-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6567c8fd91c958c399f461dae994de08f7698a9790de77c31609abf3c8f8ab56
MD5 ddf819a11dbfe7b7a015af36e2c8fc30
BLAKE2b-256 6fafc14bbf0621dd7dda42d26d0af14cc51661c873ab3c4b10aa40af48ae570c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page