MCP Nif MCP Server

This project implements an intelligent server based on [FastMCP](https://github.com/antero-ferreira/fastmcp), allowing you to query and analyze

Local serverstdioPython

What is the MCP Nif MCP Server?

MCP Nif becomes available to MCP clients through the MCP Nif. This project implements an intelligent server based on FastMCP, allowing you to query and analyze information about Portuguese companies using the NIF.PT public API. It supports multiple useful tools such as search by NIF, company.

What MCP Nif does

This project implements an intelligent server based on FastMCP, allowing you to query and analyze information about Portuguese companies using the NIF.PT public API. It supports multiple useful tools such as search by NIF, company name or city, checking company status, and identifying accounting-related businesses.

Key capabilities

  • Retrieve complete company data by NIF
  • Check if a company is active or closed
  • Identify if a company is related to accounting
  • Search companies by name and city
  • Get the NIF based on the exact company name
  • Access external links (Google Maps, Racius, Portugalio)

Practical notes

  • Maintained by ruicarvalho1, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the MCP Nif MCP Server

{
  "mcpServers": {
    "nif-pt-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/YOUR/PROJECT/FOLDER",
        "run",
        "main.py"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use MCP Nif to Locally.”

Frequently asked questions

This project implements an intelligent server based on [FastMCP](https://github.com/antero-ferreira/fastmcp), allowing you to query and analyze information about Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.