数字进制转换器

数字进制转换器

curl -X POST https://mate.tools/api/v1/number-base.php \

-H "Content-Type: application/json" \

-d '{"value":"ff","from_base":16,"to_bases":[2,10,16,"roman"]}' import urllib.request, json

req = urllib.request.Request(

"https://mate.tools/api/v1/number-base.php",

data=json.dumps({"value":"ff","from_base":16,"to_bases":[2,10,16,"roman"]}).encode(),

headers={"Content-Type": "application/json"},

)

with urllib.request.urlopen(req) as r:

print(json.load(r)) const r = await fetch("https://mate.tools/api/v1/number-base.php", {

method: "POST",

headers: { "Content-Type": "application/json" },

body: JSON.stringify({"value":"ff","from_base":16,"to_bases":[2,10,16,"roman"]}),

});

console.log(await r.json()); 添加到 claude_desktop_config.json(Claude Desktop)、~/.cursor/mcp.json(Cursor)或任何其他MCP兼容客户端:

{

"mcpServers": {

"mate-tools": {

"command": "npx",

"args": ["-y", "@mate-tools/mcp-server"]

}

}

}

黄金推荐

竞的意思,竞的解释,竞的拼音,竞的部首,竞的笔顺
11技能鲛将军神宠
365bet娱乐场客户端

11技能鲛将军神宠

🕒 02-20 💰 3196
手机护眼软件推荐
365bet亚洲真人网

手机护眼软件推荐

🕒 01-29 💰 811