GitHubスター
0
ユーザー評価
未評価
お気に入り
0
閲覧数
11
フォーク
0
イシュー
0
MCP Mood Quote Server
This is a simple Model Context Protocol (MCP) server that returns an inspirational quote based on the user’s mood. It can be used with large language models (LLMs) such as Claude, or tested locally using tools like curl
.
What It Does
Send a POST request to the server with a mood (e.g., "happy", "sad", "tired") and it returns a quote associated with that emotion.
Installation
Clone this repository:
git clone https://github.com/computerscienceiscool/mcp-mood-quotes.gitNavigate to the project directory:
cd mcp-mood-quotesRun the server:
go run main.go
Usage
Test locally using curl:
curl -X POST -H "Content-Type: application/json"
-d '{"tool":"mcp-mood-quotes","input":{"mood":"happy"}}'
http://localhost:8080/messages/
Expected output:
data: {"output":{"quote":"Happiness is not something ready made. It comes from your own actions. — Dalai Lama"}}
Supported Moods
- happy
- sad
- tired
- excited
- angry
Other moods will return a default message indicating no quote is available.
Integration with Nanda and Claude
This server is compatible with the Model Context Protocol and may be registered with the Nanda Registry for broader usage.
Project Structure
mcp-mood-quotes/
├── main.go
└── README.md
Author
Created by @computerscienceiscool