odt-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@odt-mcp-serverextract the text from my resume.odt"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ODT MCP Server
A Model Context Protocol (MCP) server for handling OpenDocument Text (.odt) files. This server enables AI assistants to read, analyze, and extract data from ODT documents.
Features
Read ODT text: Extract clean text from ODT documents
Get metadata: Retrieve document information like author, title, date, etc.
List archive contents: See all files contained in the ODT archive
Extract raw XML: Access the underlying XML files (content.xml, styles.xml, meta.xml)
Related MCP server: DOCX MCP Server
Prerequisites
Node.js v18.0.0 or later
npm (included with Node.js)
Installation
npm install
npm run build
npm linkQuick Start
🚀 Try the Interactive Demo
# Run the full-featured demo
cd examples
node demo.js
# Or test with your own ODT file
node demo.js path/to/your/file.odtAs MCP Server
The server is designed to be used as an MCP server with AI assistants like Claude or other MCP-compatible clients.
# Run the server directly
./build/index.js
# Or after npm link, run globally
odt-mcp-serverAvailable Tools
1. read_odt
Reads and extracts clean text from an ODT file.
Input:
file_path(string): Path to the ODT file
Output: Clean text from the document
2. get_odt_metadata
Retrieves metadata from the ODT file's meta.xml.
Input:
file_path(string): Path to the ODT file
Output: JSON object with document metadata
3. list_odt_files
Lists all files in the ODT archive.
Input:
file_path(string): Path to the ODT file
Output: List of filenames in the archive
4. extract_odt_xml
Extracts raw XML content from a specific file in the ODT archive.
Input:
file_path(string): Path to the ODT filexml_file(string): Name of the XML file (e.g., 'content.xml', 'styles.xml', 'meta.xml')
Output: Raw XML content
MCP Configuration
To use this server with an MCP client, add the following to your configuration:
{
"mcpServers": {
"odt": {
"command": "odt-mcp-server"
}
}
}Note: After running npm link, the odt-mcp-server command will be globally available.
Development
# Build the project
npm run build
# Build in watch mode
npm run watchTechnical Details
Runtime: Node.js with ES modules
Dependencies:
@modelcontextprotocol/sdk: MCP SDKadm-zip: ZIP archive handlingxml2js: XML parsing
Type definitions: Full TypeScript support
About the ODT Format
OpenDocument Text (.odt) files are ZIP archives that contain:
content.xml: The document's main contentmeta.xml: Metadata (author, title, etc.)styles.xml: Formatting and stylesMETA-INF/manifest.xml: Archive manifestOther resources (images, fonts, etc.)
This server provides structured access to all these components through the MCP protocol.
Contributing
Contributions are welcome! Here's how you can help:
Report Issues: Found a bug or have a feature request? Open an issue
Submit Pull Requests: Fork the repository, make your changes, and submit a pull request
Improve Documentation: Help make the documentation clearer and more comprehensive
Test with ODT Files: Test with various ODT files and report compatibility issues
Development Setup
git clone https://github.com/PeterHeick/odt-mcp-server.git
cd odt-mcp-server
npm install
npm run build
npm run watch # For development with auto-rebuildPlease ensure your code follows the existing style and includes appropriate tests.
License
MIT - Feel free to use this project for any purpose, commercial or non-commercial. See the full license text for details.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.111
- FlicenseAqualityDmaintenanceA comprehensive Model Context Protocol server that processes Microsoft Word documents with full formatting support, enabling text extraction, HTML/Markdown conversion, structure analysis, and image extraction.52
- AlicenseCqualityDmaintenanceA Model Context Protocol server for enterprise-grade document automation, enabling AI assistants to create, read, manipulate, and analyze Microsoft Word documents programmatically.541MIT
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that converts documents (PDF, DOCX, HTML, etc.) to Markdown, enabling AI agents to ingest and understand document content.MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PeterHeick/odt-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server