Sponsored by Deepsite.site

发票pdf转excel台账 Mcp 服务器

Created By
tree8 months ago
Content

发票处理 MCP 服务器

这是一个用于处理 PDF 发票的 MCP 服务器,提供以下功能:

功能特点

  1. PDF 发票信息提取

    • 支持从 PDF 文件中提取发票信息
    • 自动验证 PDF 文件格式
  2. Excel 表格生成

    • 支持从多个 JSON 文件生成 Excel 表格
    • 自动处理异常文件并记录失败原因
    • 支持自定义输出路径

使用方法

  1. 配置 MCP 客户端:
{
  "mcpServers": {
    "invoicemcpserver": {
      "command": "npx",
      "args": [
        "-y",
        "@ai28mcp/invoicemcpserver@latest"
      ],
      "env": {
        "INVOICE_API_KEY": "你的API密钥"  // 小红书关注 "AI二八酱"  (小红书号:94152668811) 留言获取
      }
    }
  }
}
  1. 使用发票提取功能:
extract_invoice({
  filePath: "发票文件路径",
  apiKey: "API密钥"
});
  1. 使用 Excel 生成功能:
generate_excel({
  dirPath: "JSON文件目录",
  outputPath: "输出Excel路径"
});

注意事项

  1. 必须设置 API 小红书关注 "AI二八酱" (小红书号:94152668811) 留言获取😊
  2. API 密钥可以通过以下两种方式提供:
    • 环境变量 INVOICE_API_KEY
    • 调用参数中的 apiKey
  3. Excel 生成功能会自动跳过无法解析的文件并记录失败原因

Server Config

{
  "mcpServers": {
    "invoicemcpserver": {
      "command": "npx",
      "args": [
        "-y",
        "@ai28mcp/invoicemcpserver@latest"
      ],
      "env": {
        "INVOICE_API_KEY": "<YOUR_KEY>"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Amap Maps高德地图官方 MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
Playwright McpPlaywright MCP server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.