cnes-mcp-test
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cnes-mcp-testhow many hospitals are in Rio de Janeiro?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CNES Mapping
Brazilian CNES health establishment data → PostgreSQL schema + MCP server for AI-assisted queries.
Quick setup
git clone https://github.com/josepaulolaport/cnes-mapping.git
cd cnes-mapping
cp .env.example .env # edit DATABASE_URL
pip install -r requirements.txt
cd mcp && npm install && npm run build
# Download CNES CSVs from DATASUS into:
# BASE_DE_DADOS_CNES_202605/
# PostgreSQL import
export DATABASE_URL=postgresql://user:pass@localhost:5432/atlasmed_test
psql "$DATABASE_URL" -f sql/create_mcp_test_schema.sql
cd scripts && python3 import_modular.py --table all
# MCP (Claude Desktop / Cursor)
cp .mcp.json.example .mcp.json # set absolute path + CNES_DATABASE_URLRelated MCP server: recife-open-data-mcp
What's included
Path | Purpose |
| PostgreSQL schema, migrations, views, FKs |
| Modular CNES CSV importer |
| Read-only MCP server ( |
| Schema metadata for the AI agent |
| Import guides, table docs |
Not in repo (gitignored)
BASE_DE_DADOS_CNES_202605/— download from DATASUS CNESoutput/,logs/,import_errors/— generated artifacts.env— credentials
MCP tools
list_tables, describe_table, execute_query, run_analysis, search_schema, get_agent_policy
See mcp/README.md and CLAUDE.md.
Data
CNES May 2026 (202605) — ~623k facilities, ~7.7M professionals, reference tables for occupations, agreements, maintainers, etc.
Schema: mcp_test on PostgreSQL.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/josepaulolaport/cnes-mapping'
If you have feedback or need assistance with the MCP directory API, please join our Discord server