NativeWind is an MCP server that converts web-based Tailwind CSS components into NativeWind 4 syntax for React Native applications. It connects your Model Context Protocol client directly to automated conversion utilities designed for mobile development workflows. Mobile engineers, frontend developers, and cross-platform teams use this server to adapt standard web styling rules into React Native mobile architectures without manual translation. By exposing dedicated tools to AI agents, the server inspects existing Tailwind utility classes, identifies compatibility issues, and rewrites components into NativeWind 4 formats. Users can transform individual component files or run transformations across entire directories at once. In addition to component rewriting, the server includes inspection utilities to analyze Tailwind usage across projects, helping developers evaluate codebases prior to migration. This enables faster porting of UI designs and components from React web applications to React Native while maintaining consistent design tokens and styling conventions.
Category: Developer Tools & Code Intelligence
Tags: css, mobile-development, react-native, styling, tailwind
claude_desktop_config.json). 3. Add the server under the mcpServers object using the following configuration: json { "mcpServers": { "nativewind-transformer": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-nativewind"] } } } 4. Alternatively, install the package globally using npm install -g @modelcontextprotocol/server-nativewind to use the mcp-nativewind CLI executable directly. 5. Restart your MCP client to load the tools.Part of MCP Servers
NativeWind MCP server is a development tool that bridges AI assistants with component transformation utilities. It converts standard Tailwind CSS code from web components into NativeWind 4 syntax for React Native applications.
You can install the tool globally by running npm install -g @modelcontextprotocol/server-nativewind, or register it directly in Claude Desktop using npx -y @modelcontextprotocol/server-nativewind within your configuration file.
The server provides three tools: transform-component for converting a single file, transform-directory for converting all components across a folder, and analyze-component for evaluating Tailwind CSS usage.
NativeWind is open source software distributed under the MIT license according to the project documentation on GitHub.