Cid10 Br Mcp

io.github.SidneyBissoliPublished by GitHub account SidneyBissoliv1.1.0Updated Nov 10, 2026

MCP Server for Brazilian ICD-10 (DATASUS) - International Classification of Diseases

Overview

AI-generated overview

Local MCP server that gives an assistant offline lookup of Brazilian ICD-10 (CID-10, DATASUS V2008) codes, descriptions, hierarchy and validity checks.

What you can do
  • Search CID-10 codes by code or description term
  • Look up details for a specific code
  • Browse the hierarchy: chapters, groups, categories and subcategories under a prefix
  • Show general database statistics
  • Validate a code for use in Brazilian health systems (SUS)
When to use it
Useful when working with Brazilian medical records, billing or health reporting and you need official CID-10 codes and descriptions instead of model guesses. Note the package is marked deprecated in favor of a successor package covering more terminologies.
Requirements
Runs locally over stdio; Node.js 18 or newer and npm, launched via npx or a global install. No accounts, API keys or environment variables are declared. Data is bundled with the package, so no network access is needed at query time.
Before you install
The README marks this package as deprecated and no longer updated, so prefer the named successor if you need current data. The bundled dataset is the DATASUS V2008 edition, so codes may lag newer revisions; validation results should not be treated as clinical or billing authority.

Installation

In SourceWeft

  1. Open Cid10 Br Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

CID-10 Brasil MCP Server

[!WARNING] This package is deprecated. It has been superseded by medical-terminologies-mcp (npm), which serves the same full Brazilian CID-10 (DataSUS V2008) plus ICD-11, LOINC, RxNorm, MeSH, ATC and the authoritative WHO ICD-10→ICD-11 crosswalk, with source provenance on every response — and also offers a hosted endpoint at https://medical.sidneybissoli.com/mcp (no install needed). This repository stays available for reference but will receive no further updates.

[npm version] [npm downloads] [node] [MCP Registry] [LobeHub] [GitHub stars] [GitHub Sponsors] [License: MIT]

🇧🇷 Leia em Português

MCP Server for Brazilian ICD-10 (DATASUS) - International Classification of Diseases

A Model Context Protocol (MCP) server that provides access to the Brazilian version of ICD-10 (CID-10), maintained by DATASUS/Ministry of Health of Brazil.

See it in action

Ask your assistant, in plain Portuguese:

  • "Qual o código CID-10 para infarto agudo do miocárdio?" → cid10_search / cid10_lookup
  • "Liste todas as subcategorias do diabetes tipo 2 (E11)." → cid10_hierarchy
  • "O código C50 é válido e pode ser causa de óbito?" → cid10_validar

The answers come straight from the bundled DATASUS V2008 dataset — official codes and descriptions, not guesses from training data.

Features

  • Search - Search codes by term (code or description)
  • Lookup - Get detailed information for a specific CID-10 code
  • Hierarchy - Navigate the hierarchical structure (chapters, groups, categories, subcategories)
  • Statistics - General statistics about the CID-10 database
  • Validation - Validate codes for use in health systems (SUS)

Installation

Using with Claude Desktop

Add to your Claude Desktop configuration file:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

json
{  "mcpServers": {    "cid10-br": {      "command": "npx",      "args": ["cid10-br-mcp"]    }  }}

Global Installation

bash
npm install -g cid10-br-mcp

Then add to Claude Desktop config:

json
{  "mcpServers": {    "cid10-br": {      "command": "cid10-br-mcp"    }  }}

Available Tools

ToolDescription
cid10_searchSearch CID-10 codes by term (code or description)
cid10_lookupGet detailed information for a specific code
cid10_hierarchyGet all codes under a category/prefix
cid10_capitulosList all 22 chapters of CID-10
cid10_statsGeneral statistics about the database
cid10_validarValidate a code for use in health systems

Usage Examples

Once configured, you can ask Claude:

  • "What is CID-10 code A90?"
  • "Search for diabetes codes in CID-10"
  • "List all codes under category E11"
  • "What are the chapters of CID-10?"
  • "Is F32.1 a valid code for medical records?"

Data Source

The data comes from official DATASUS sources:

  • CID-10-CAPITULOS.CSV - 22 chapters
  • CID-10-GRUPOS.CSV - Groups within chapters
  • CID-10-CATEGORIAS.CSV - 3-character categories
  • CID-10-SUBCATEGORIAS.CSV - Detailed subcategories

Source: DATASUS - CID-10

Development

Prerequisites

  • Node.js >= 18.0.0
  • npm

Setup

bash
# Clone the repositorygit clone https://github.com/SidneyBissoli/cid10-br-mcp.gitcd cid10-br-mcp
# Install dependenciesnpm install
# Buildnpm run build
# Run locallynpm start

Testing with MCP Inspector

bash
npx @modelcontextprotocol/inspector node dist/index.js

Contributing

Contributions are welcome! Feel free to:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/new-feature)
  3. Commit your changes (git commit -m 'Add new feature')
  4. Push to the branch (git push origin feature/new-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Sidney Bissoli

Links


Made for the Brazilian health community

Source: README.md at commit 064f157

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts