MCP-Claude-Desktop-Project-Demo

MCP-Claude-Desktop-Project-Demo

3.3

This project demonstrates the use of the Modular Claude Protocol (MCP) server with the FastMCP framework to create programmable tools and resources.

The MCP Server with Claude Desktop is an interactive tool API demo that showcases the integration of the Modular Claude Protocol (MCP) server with the FastMCP framework. It provides a set of programmable tools including a basic calculator, note-taking functionality, and real-time currency exchange rate lookup. Designed for seamless integration with Claude AI, such as via Claude Desktop or CLI, it allows tools to be accessed programmatically or through natural language prompts. The project is built using Python and requires specific libraries for virtual environment management and asynchronous API calls.

Features

  • Arithmetic Tools: Perform basic arithmetic operations with error handling.
  • Currency Exchange Tool: Fetch real-time currency conversion rates using a public API.
  • Sticky Notes Tool: Save, read, and summarize notes from a local file.

MCP Tools

  • {'Greet users dynamically': 'greeting://{name}'}
  • {'Fetch latest note': 'notes://latest_notes'}

MCP Resources

  • {'Summarize notes': 'Use Claude or other AI tools for summarization.'}
  • {'Generate calculation prompts': 'Create prompts based on operation type.'}

Usage with Different Platforms

mcp

python
import mcp

# Initialize MCP server
server = mcp.Server()

# Add tools
server.add_tool('calculator', calculator_tool)
server.add_tool('currency_exchange', currency_exchange_tool)
server.add_tool('sticky_notes', sticky_notes_tool)

# Start server
server.run()

Related MCP Servers

View all mathgpt servers →