MCP Server Example for Indonesian Customs Tariff & Hascode API
@TehBotolBayu
MCP Server Example for Indonesian Customs Tariff & Hascode API について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"MCP-Server-for-Indonesian-Custom-Tarif": {
"command": "uv",
"args": [
"init",
"mcp-server"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Server Example for Indonesian Customs Tariff & Hascode API?
An example implementation of a Model Context Protocol (MCP) server tailored for educational use in Indonesian customs tariff data and Hascode API integration. It demonstrates how to build a functional MCP server that connects to APIs like Hascode to fetch tariff and HS code information for AI models.
How to use MCP Server Example for Indonesian Customs Tariff & Hascode API?
Install Python 3.10+, MCP SDK 1.2.0+, and the uv package manager. Initialize a project with uv init mcp-server, set up a virtual environment, add dependencies (uv add "mcp[cli]" httpx), then create a main.py with a resource class (e.g., HsCodeTariffResource) that calls the Hascode API. Run the server with uv run main.py. Connect to Claude Desktop by editing its config file (claude_desktop_config.json) with the server’s absolute path.
Key features of MCP Server Example for Indonesian Customs Tariff & Hascode API
- Educational MCP server for Indonesian customs tariff data
- Integrates with Hascode API for real-time HS code lookups
- Supports resources, tools, and prompts for LLM interaction
- Built with Python, MCP SDK, and httpx
- Connects to Claude Desktop via local MCP configuration
- Uses
uvfor project management and dependency handling
Use cases of MCP Server Example for Indonesian Customs Tariff & Hascode API
- Fetch current import duty rates for a given HS code in Indonesia
- Provide structured tariff data to an AI assistant for customs queries
- Demonstrate MCP integration with a public API for educational workshops
- Build a prototype for logistics or trade compliance chatbots
- Test LLM interaction with real-time customs API responses
FAQ from MCP Server Example for Indonesian Customs Tariff & Hascode API
What is MCP?
MCP (Model Context Protocol) is an open standard that provides structured context to Large Language Models, enabling standardized access to external data sources like customs tariff APIs.
What are the system requirements?
Python 3.10 or higher, MCP SDK 1.2.0 or higher, and the uv package manager.
How do I connect the server to Claude Desktop?
Edit the config file at ~/Library/Application Support/Claude/claude_desktop_config.json and add an mcpServers entry with your server’s absolute path, using uv as the command.
What does the server do?
It fetches Indonesian customs tariff data via the Hascode API and exposes it as an MCP resource, allowing an LLM to query HS code duty rates.
How can I troubleshoot if Claude Desktop doesn’t detect the server?
Check the config file path and syntax, use absolute paths, ensure uv is installed and working, and review Claude’s logs for connection errors.
「開発者ツール」の他のコンテンツ
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
コメント