inktomd MCP Server
Convert files, URLs, and documents to clean, AI-ready Markdown via MCP.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"inktomd-mcp": {
"url": "https://mcp.inktomd.com/mcp"
}
}
}远程端点
https://mcp.inktomd.com/mcpstreamable-http它能做什么
工具清单
工具(9)
⚪convert_url(url)
Convert any URL to clean AI-ready Markdown. Supports webpages, YouTube videos, ArXiv papers, Wikipedia articles, Substack newsletters, RSS feeds, Google Docs, GitHub pages, and more. Returns Markdown with up to 63% fewer tokens than the raw source HTML.
输入模式
{
"type": "object",
"properties": {
"url": {
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "convert_urlArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "convert_urlOutput"
}⚪convert_file(file_path)
Convert a local file to clean AI-ready Markdown. Supports PDF, Word (.doc/.docx), Excel (.xls/.xlsx), PowerPoint (.ppt/.pptx), EPUB, HTML, CSV, JSON, XML, Jupyter notebooks (.ipynb), Email files (.eml/.msg), ZIP archives (.zip), and 7-Zip archives (.7z). Provide the absolute file path. Maximum file size: 20MB.
输入模式
{
"type": "object",
"properties": {
"file_path": {
"title": "File Path",
"type": "string"
}
},
"required": [
"file_path"
],
"title": "convert_fileArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "convert_fileOutput"
}🟢convert_youtube(url)
Extract the full transcript from any public YouTube video as clean Markdown. Works with standard watch links (youtube.com/watch?v=) and short links (youtu.be/). The video must have captions enabled — including auto-generated captions. Returns the transcript as flowing Markdown paragraphs, not raw caption fragments.
输入模式
{
"type": "object",
"properties": {
"url": {
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "convert_youtubeArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "convert_youtubeOutput"
}⚪convert_arxiv(url)
Convert any ArXiv research paper to clean structured Markdown. Accepts both abstract page URLs (arxiv.org/abs/PAPER_ID) and direct PDF links (arxiv.org/pdf/PAPER_ID). Returns the full paper content with headings, sections, and content preserved — uses significantly fewer tokens than the PDF format for AI analysis.
输入模式
{
"type": "object",
"properties": {
"url": {
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "convert_arxivArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "convert_arxivOutput"
}🟢list_supported_formats
List all file formats and URL types that inktomd supports for conversion to Markdown. Use this to check whether a specific file type or URL source is supported before attempting conversion.
输入模式
{
"type": "object",
"properties": {},
"title": "list_supported_formatsArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_supported_formatsOutput"
}🟢count_tokens(text, model)
Count the exact number of tokens in a text string for a specific AI model. Uses tiktoken for OpenAI models and estimates for others. Args: text: The text to count tokens for model: The AI model to count tokens for. Options: gpt-4o, gpt-4o-mini, gpt-4.1, claude-sonnet, claude-haiku, gemini-pro, gemini-flash, llama-4, deepseek-v3, mistral-large. Default: gpt-4o Returns: Token count information including count, context window, and fit status
输入模式
{
"type": "object",
"properties": {
"text": {
"title": "Text",
"type": "string"
},
"model": {
"default": "gpt-4o",
"title": "Model",
"type": "string"
}
},
"required": [
"text"
],
"title": "count_tokensArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "count_tokensOutput"
}🟢convert_batch(urls)
Convert multiple URLs to Markdown in a single call. Maximum 10 URLs per batch. Each URL is converted independently. Args: urls: List of URLs to convert. Maximum 10. Each must start with http:// or https:// Returns: All converted Markdown documents combined, clearly separated with headers
输入模式
{
"type": "object",
"properties": {
"urls": {
"items": {
"type": "string"
},
"title": "Urls",
"type": "array"
}
},
"required": [
"urls"
],
"title": "convert_batchArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "convert_batchOutput"
}⚪convert_with_metadata(source, source_type)
Convert a file or URL to Markdown and return both content and structured metadata. Metadata includes title, estimated token counts for all major models, word count, character count, and reading time. Args: source: Either a URL (starting with http/https) or absolute file path source_type: Either "url" or "file". Default: "url" Returns: Markdown content with a metadata header block containing all stats
输入模式
{
"type": "object",
"properties": {
"source": {
"title": "Source",
"type": "string"
},
"source_type": {
"default": "url",
"title": "Source Type",
"type": "string"
}
},
"required": [
"source"
],
"title": "convert_with_metadataArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "convert_with_metadataOutput"
}🟢prepare_for_rag(source, source_type, chunk_size, overlap)
Convert a file or URL to Markdown, then split it into optimally-sized chunks ready for insertion into a vector database or RAG pipeline. Returns a JSON array of chunks with token counts, making this the single tool needed to go from raw document to RAG-ready data. Args: source: Either a URL (starting with http/https) or absolute file path source_type: Either "url" or "file". Default: "url" chunk_size: Target token count per chunk. Default: 512. Recommended range: 256-1024 overlap: Token overlap between consecutive chunks to preserve context. Default: 50 Returns: JSON array of chunks, each with: chunk_id, text, token_count, char_count
输入模式
{
"type": "object",
"properties": {
"source": {
"title": "Source",
"type": "string"
},
"source_type": {
"default": "url",
"title": "Source Type",
"type": "string"
},
"chunk_size": {
"default": 512,
"title": "Chunk Size",
"type": "integer"
},
"overlap": {
"default": 50,
"title": "Overlap",
"type": "integer"
}
},
"required": [
"source"
],
"title": "prepare_for_ragArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "prepare_for_ragOutput"
}社区
证据