Este projeto demonstra como construir um servidor MCP com integração a APIs externas e validação de dados.
Connect Sample to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Este projeto demonstra como construir um servidor MCP com integração a APIs externas e validação de dados. The sample mcp server is what makes that connection.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
get-alerts — Retorna alertas meteorológicos ativos para um estado (código de duas letras, ex: CA, NY)get-forecast — Retorna a previsão do tempo para coordenadas geográficas (latitude, longitude)Installation goes through your MCP client rather than a global install: point it at npm on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Sample's toolset — get-alerts, get-forecast — is a fair guide to whether it matches your workflow. It is maintained by williammian; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Sample's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get-alerts | Retorna alertas meteorológicos ativos para um estado (código de duas letras, ex: CA, NY). |
| get-forecast | Retorna a previsão do tempo para coordenadas geográficas (latitude, longitude). |
{
"mcpServers": {
"server-sample": {
"command": "npx",
"args": ["-y", "npm"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.