We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/huanongfish/arxiv-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
{
"cells": [
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"import pymupdf4llm\n",
"from .config import Settings\n",
"from pathlib import Path\n",
"\n",
"settings = Settings()\n",
"paper_path = Path(settings.STORAGE_PATH) / \"2412.04468v1\"\n",
"text_content = pymupdf4llm.to_markdown(paper_path, show_progress=False)\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"with open(paper_path.with_suffix(\".md\"), \"w\") as f:\n",
" f.write(text_content)\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": ".venv",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
}
},
"nbformat": 4,
"nbformat_minor": 2
}