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 mcp server. 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)

Tools it exposes

Once connected, the assistant can call this tool directly:

  • Locally — The application uses transport="stdio" by default, making it compatible with Claude Desktop or terminal-based environments

Installing the mcp nif mcp server

The server is distributed via npm as @smithery/cli, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. MCP Nif sits in that group, and the shape of its toolset — Locally — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by ruicarvalho1, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp nif mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
LocallyThe application uses transport="stdio" by default, making it compatible with Claude Desktop or terminal-based environments.

How to install the MCP Nif MCP server

{
  "mcpServers": {
    "nif": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use MCP Nif to Locally.

Frequently asked questions

It connects MCP Nif to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Locally) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Nif directly.