loading…
Search for a command to run...
loading…
A note management MCP server that enables users to store, retrieve, and summarize personal notes via a custom URI scheme. It provides tools for adding content a
A note management MCP server that enables users to store, retrieve, and summarize personal notes via a custom URI scheme. It provides tools for adding content and prompts for generating brief or detailed summaries of stored information.
MCP-Server is a small Python workspace built around a FastMCP server. The main package lives in my-mcp/ and exposes a server named DataTools that combines local weather data from SQLite with live cryptocurrency tools from CoinGecko.
weather://latest.
├── Dockerfile
├── pyproject.toml
├── uv.lock
└── my-mcp/
├── alembic.ini
├── migrations/
├── data/
├── pyproject.toml
├── README.md
└── src/my_mcp/
├── server.py
└── db/
Install dependencies from the workspace root:
uv sync
The server uses environment variables from .env when available. The most important ones are:
HOST - bind address for the MCP server, for example 0.0.0.0PORT - SSE port, for example 8080DB_PATH - path to the SQLite database, defaulting to data/app.dbThe database schema is managed with Alembic and stored in SQLite.
Run migrations from the package directory:
cd my-mcp
uv run alembic upgrade head
If you want sample data, you can seed the database with:
cd my-mcp
uv run python -m my_mcp.db.seed
Start the server from the repository root:
uv run --package my-mcp my-mcp
By default the server runs over SSE and listens on the host and port defined by HOST and PORT.
Build the image:
docker build -t mcp-server .
Run it:
docker run --rm -p 8080:8080 -e HOST=0.0.0.0 -e PORT=8080 -e DB_PATH=data/app.db mcp-server
readings_for_city(city, hours=6) - returns recent weather readings for a cityaverage_temp(city, hours=6) - returns the average temperature for a cityget_crypto_price(coin_id="bitcoin") - returns price, market cap, and 24h change for a coinget_top_coins(limit=5) - returns the top cryptocurrencies by market capweather://latest - returns the newest weather reading in the databaseweather_summary(city, hours=6) - prepares a concise weather summary prompt for a client or LLMFor SSE-based clients, point them at the running server URL, for example:
http://localhost:8080/sse
For Claude Desktop or similar tools, use a command-based config that launches uv run --package my-mcp my-mcp from this repository.
sqlite:///./data/app.db inside my-mcp/alembic.ini.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"my-mcp": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.